PerceptionMonitorChannel.DataReceived PerceptionMonitorChannel.DataReceived PerceptionMonitorChannel.DataReceived PerceptionMonitorChannel.DataReceived PerceptionMonitorChannel.DataReceived Event

Definition

Raised when a data update for the current channel has been received.

public : event TypedEventHandler<PerceptionMonitorChannel, PerceptionMonitorDataReceivedEventArgs> DataReceived
// Register
event_token DataReceived(TypedEventHandler<PerceptionMonitorChannel, PerceptionMonitorDataReceivedEventArgs> 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<PerceptionMonitorChannel, PerceptionMonitorDataReceivedEventArgs> const& handler) const;
public event TypedEventHandler<PerceptionMonitorChannel, PerceptionMonitorDataReceivedEventArgs> DataReceived
Public Event DataReceived As TypedEventHandler (Of PerceptionMonitorChannel, PerceptionMonitorDataReceivedEventArgs)
function onDataReceived(eventArgs){/* Your code */}


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