DeviceInformationCustomPairing.PairingRequested DeviceInformationCustomPairing.PairingRequested DeviceInformationCustomPairing.PairingRequested DeviceInformationCustomPairing.PairingRequested DeviceInformationCustomPairing.PairingRequested Event

Definition

Raised when a pairing action is requested.

public : event TypedEventHandler<DeviceInformationCustomPairing, DevicePairingRequestedEventArgs> PairingRequested
// Register
event_token PairingRequested(TypedEventHandler<DeviceInformationCustomPairing, DevicePairingRequestedEventArgs> const& handler) const;

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

// Revoke with event_revoker
PairingRequested_revoker PairingRequested(auto_revoke_t, TypedEventHandler<DeviceInformationCustomPairing, DevicePairingRequestedEventArgs> const& handler) const;
public event TypedEventHandler<DeviceInformationCustomPairing, DevicePairingRequestedEventArgs> PairingRequested
Public Event PairingRequested As TypedEventHandler (Of DeviceInformationCustomPairing, DevicePairingRequestedEventArgs)
function onPairingRequested(eventArgs){/* Your code */}


deviceInformationCustomPairing.addEventListener("pairingrequested", onPairingRequested);
deviceInformationCustomPairing.removeEventListener("pairingrequested", onPairingRequested);