RfcommInboundConnectionInformation 类

定义

提供有关传入 RFCOMM 连接的信息。 如果应用希望系统代表 RfcommConnectionTrigger 侦听传入连接,则应用必须创建此对象并将其附加到 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
继承
Object IInspectable RfcommInboundConnectionInformation
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
bluetooth

属性

LocalServiceId

获取或设置将在 SDP 记录中播发的服务 UUID。

SdpRecord

获取或设置系统代表应用播发的蓝牙 SDP 记录。

ServiceCapabilities

获取或设置将播发的服务功能。

适用于