UsbInterruptInPipe.DataReceived UsbInterruptInPipe.DataReceived UsbInterruptInPipe.DataReceived UsbInterruptInPipe.DataReceived UsbInterruptInPipe.DataReceived Event

Definition

Raised when the interrupt pipe receives data from the interrupt IN endpoint.

public : event TypedEventHandler<UsbInterruptInPipe, UsbInterruptInEventArgs> DataReceived
// Register
event_token DataReceived(TypedEventHandler<UsbInterruptInPipe, UsbInterruptInEventArgs> const& handler) const;

// Revoke with event_token
void DataReceived(event_token const& cookie) const;

// Revoke with event_revoker
DataReceived_revoker DataReceived(auto_revoke_t, TypedEventHandler<UsbInterruptInPipe, UsbInterruptInEventArgs> const& handler) const;
public event TypedEventHandler<UsbInterruptInPipe, UsbInterruptInEventArgs> DataReceived
Public Event DataReceived As TypedEventHandler (Of UsbInterruptInPipe, UsbInterruptInEventArgs)
function onDataReceived(eventArgs){/* Your code */}


usbInterruptInPipe.addEventListener("datareceived", onDataReceived);
usbInterruptInPipe.removeEventListener("datareceived", onDataReceived);