Udostępnij za pośrednictwem


RfcommInboundConnectionInformation Class

Definition

Provides information about incoming RFCOMM connections. If an app wants the system to listen for incoming connections on behalf of an RfcommConnectionTrigger, the app must create this object and attach it to the RfcommConnectionTrigger.

public ref class RfcommInboundConnectionInformation sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class RfcommInboundConnectionInformation final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class RfcommInboundConnectionInformation
Public NotInheritable Class RfcommInboundConnectionInformation
Inheritance
Object Platform::Object IInspectable RfcommInboundConnectionInformation
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
bluetooth

Properties

LocalServiceId

Gets or sets the service UUID that will be advertised in the SDP record.

SdpRecord

Gets or sets the Bluetooth SDP record that the system will advertise on behalf of the app.

ServiceCapabilities

Gets or sets the service capabilities that will be advertised.

Applies to