Windows Dev Center

RfcommConnectionTrigger class

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

Syntax


Public NotInheritable Class RfcommConnectionTrigger
    Implements IBackgroundTrigger

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/writeGets or sets whether the app wants to handle multiple connections at a time.

InboundConnection

Read/writeGets or sets the RfcommInboundConnectionInformation object that describes how the system

OutboundConnection

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

ProtectionLevel

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

RemoteHostName

Read/writeGets 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

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 [Windows Store apps only]

Minimum supported server

None supported [Windows Store apps only]

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:
© 2015 Microsoft