GattLocalCharacteristic.WriteRequested GattLocalCharacteristic.WriteRequested GattLocalCharacteristic.WriteRequested GattLocalCharacteristic.WriteRequested GattLocalCharacteristic.WriteRequested Event

Definition

This is an event that is triggered when a write was requested.

public : event TypedEventHandler<GattLocalCharacteristic, GattWriteRequestedEventArgs> WriteRequested
// Register
event_token WriteRequested(TypedEventHandler<GattLocalCharacteristic, GattWriteRequestedEventArgs> const& handler) const;

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

// Revoke with event_revoker
WriteRequested_revoker WriteRequested(auto_revoke_t, TypedEventHandler<GattLocalCharacteristic, GattWriteRequestedEventArgs> const& handler) const;
public event TypedEventHandler<GattLocalCharacteristic, GattWriteRequestedEventArgs> WriteRequested
Public Event WriteRequested As TypedEventHandler (Of GattLocalCharacteristic, GattWriteRequestedEventArgs)
function onWriteRequested(eventArgs){/* Your code */}


gattLocalCharacteristic.addEventListener("writerequested", onWriteRequested);
gattLocalCharacteristic.removeEventListener("writerequested", onWriteRequested);

Additional features and requirements

Capabilities
bluetooth