BluetoothGattService.InstanceId Property

Definition

Returns the instance ID for this service

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

Property Value

Instance ID of this service

Attributes

Remarks

Returns the instance ID for this service

If a remote device offers multiple services with the same UUID (ex. multiple battery services for different batteries), the instance ID is used to distuinguish services.

Java documentation for android.bluetooth.BluetoothGattService.getInstanceId().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to