RfcommConnectionTrigger.RemoteHostName | remoteHostName property

Applies to Windows Phone only

Gets or sets specific remote Bluetooth device the system will connect to, or accept connections from, on behalf of the app.

Syntax


var remoteHostName = rfcommConnectionTrigger.remoteHostName;
rfcommConnectionTrigger.remoteHostName = remoteHostName;

Property value

Type: HostName

Gets or sets specific remote Bluetooth device the system will connect to, or accept connections from, on behalf of the app. If this property is not set, the system will connect to and/or accept connections from any paired Bluetooth device that supports the relevant service.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.ApplicationModel.Background
Windows::ApplicationModel::Background [C++]

Metadata

Windows.winmd

See also

RfcommConnectionTrigger

 

 

Show:
© 2014 Microsoft