BluetoothHealthAppConfiguration.Role Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return the role associated with this application configuration.
public Android.Bluetooth.RoleType Role { [Android.Runtime.Register("getRole", "()I", "")] get; }
[<get: Android.Runtime.Register("getRole", "()I", "")>]
member this.Role : Android.Bluetooth.RoleType
Property Value
One of BluetoothHealth#SOURCE_ROLE
or BluetoothHealth#SINK_ROLE
- Attributes
Remarks
Return the role associated with this application configuration.
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.BluetoothHealthAppConfiguration.getRole()
.
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.