语言

BluetoothGattCharacteristic.InstanceId 属性

定义

返回此特征的实例 ID。

public virtual int InstanceId { [Android.Runtime.Register("getInstanceId", "()I", "GetGetInstanceIdHandler")] get; }
[<get: Android.Runtime.Register("getInstanceId", "()I", "GetGetInstanceIdHandler")>]
member this.InstanceId : int

属性值

此特征的实例 ID

特性

注解

返回此特征的实例 ID。

如果远程设备提供具有相同 UUID 的多个特征,则实例 ID 用于区分特征。

Java文档android.bluetooth.BluetoothGattCharacteristic.getInstanceId()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于