RfcommConnectionTrigger class
TOC
Collapse the table of content
Expand the table of content

RfcommConnectionTrigger class

Represents a trigger that launches a background task when an RFCOMM inbound or outbound connections are established.

Syntax


var rfcommConnectionTrigger = new Windows.ApplicationModel.Background.RfcommConnectionTrigger();

Members

The RfcommConnectionTrigger class has these types of members:

Constructors

The RfcommConnectionTrigger class has these constructors.

ConstructorDescription
RfcommConnectionTrigger Initializes a new instance of the RfcommConnectionTrigger class.

 

Properties

The RfcommConnectionTrigger class has these properties.

PropertyAccess typeDescription

AllowMultipleConnections

Read/write

Gets or sets whether the app wants to handle multiple connections at a time.

InboundConnection

Read/write

Gets or sets the RfcommInboundConnectionInformation object that describes how the system

OutboundConnection

Read/write

Gets or sets the RfcommOutboundConnectionInformation object that describes how the system will create outgoing connections on behalf of the app.

ProtectionLevel

Read/write

Gets or sets the minimum protection level required for connections that are created or accepted on behalf of the app.

RemoteHostName

Read/write

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

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version]

See also

Object
IBackgroundTrigger

 

 

Show:
© 2017 Microsoft