get_events


Description:

[ Version ( since = "0.4.0" ) ]
public GenericArray<unowned DeviceEvent> get_events ()

Gets all the events saved by the device.

Events are only collected when the `G_USB_CONTEXT_FLAGS_SAVE_EVENTS` flag is used before enumerating the context. Events can be used to replay device transactions.

Parameters:

this

a Device

Returns:

an array of events