RfcommConnectionTrigger RfcommConnectionTrigger RfcommConnectionTrigger RfcommConnectionTrigger RfcommConnectionTrigger Class


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

public : sealed class RfcommConnectionTrigger : IBackgroundTrigger
struct winrt::Windows::ApplicationModel::Background::RfcommConnectionTrigger : IBackgroundTrigger
public sealed class RfcommConnectionTrigger : IBackgroundTrigger
Public NotInheritable Class RfcommConnectionTrigger Implements IBackgroundTrigger
var rfcommConnectionTrigger = new rfcommConnectionTrigger();

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


RfcommConnectionTrigger() RfcommConnectionTrigger() RfcommConnectionTrigger() RfcommConnectionTrigger() RfcommConnectionTrigger()

Initializes a new instance of the RfcommConnectionTrigger class.


AllowMultipleConnections AllowMultipleConnections AllowMultipleConnections AllowMultipleConnections AllowMultipleConnections

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

InboundConnection InboundConnection InboundConnection InboundConnection InboundConnection

Gets or sets the RfcommInboundConnectionInformation object that describes how the system will advertise and listen for inbound connections on behalf of the app.

OutboundConnection OutboundConnection OutboundConnection OutboundConnection OutboundConnection

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

ProtectionLevel ProtectionLevel ProtectionLevel ProtectionLevel ProtectionLevel

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

RemoteHostName RemoteHostName RemoteHostName RemoteHostName RemoteHostName

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

See also