Sdílet prostřednictvím


BluetoothHealth.SourceRole Field

Definition

Health Profile Source Role - the health device.

[Android.Runtime.Register("SOURCE_ROLE")]
public const Android.Bluetooth.RoleType SourceRole = 1;
[<Android.Runtime.Register("SOURCE_ROLE")>]
val mutable SourceRole : Android.Bluetooth.RoleType

Field Value

Value = 1

Implements

Attributes

Remarks

Health Profile Source Role - the health device.

This member is deprecated. Health Device Profile (HDP) and MCAP protocol are no longer used. New apps should use Bluetooth Low Energy based solutions such as BluetoothGatt, BluetoothAdapter#listenUsingL2capChannel(), or BluetoothDevice#createL2capChannel(int)

Java documentation for android.bluetooth.BluetoothHealth.SOURCE_ROLE.

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