Jaa


DevicePairingRequestedEventArgs.Accept Method

Definition

Overloads

Accept()

Accepts a PairingRequested event and pairs the device with the application.

Accept(String)

Accepts a PairingRequested event and pairs the device with the application. Requires a pin for pairing purposes.

Accept()

Accepts a PairingRequested event and pairs the device with the application.

public:
 virtual void Accept() = Accept;
/// [Windows.Foundation.Metadata.Overload("Accept")]
void Accept();
[Windows.Foundation.Metadata.Overload("Accept")]
public void Accept();
function accept()
Public Sub Accept ()
Attributes

See also

Applies to

Accept(String)

Accepts a PairingRequested event and pairs the device with the application. Requires a pin for pairing purposes.

public:
 virtual void Accept(Platform::String ^ pin) = Accept;
/// [Windows.Foundation.Metadata.Overload("AcceptWithPin")]
void Accept(winrt::hstring const& pin);
[Windows.Foundation.Metadata.Overload("AcceptWithPin")]
public void Accept(string pin);
function accept(pin)
Public Sub Accept (pin As String)

Parameters

pin
String

Platform::String

winrt::hstring

The pin to use for attempting to pair a device.

Attributes

See also

Applies to