Language

BluetoothHealthAppConfiguration.Role プロパティ

定義

このアプリケーション構成に関連付けられているロールを返します。

public Android.Bluetooth.RoleType Role { [Android.Runtime.Register("getRole", "()I", "")] get; }
[<get: Android.Runtime.Register("getRole", "()I", "")>]
member this.Role : Android.Bluetooth.RoleType

プロパティ値

BluetoothHealth#SOURCE_ROLEまたはBluetoothHealth#SINK_ROLE

属性

注釈

このアプリケーション構成に関連付けられているロールを返します。

このメンバーは非推奨です。 正常性デバイス プロファイル (HDP) と MCAP プロトコルは使用されなくなりました。 新しいアプリでは、Bluetooth BluetoothGatt、 BluetoothAdapter#listenUsingL2capChannel()、または BluetoothDevice#createL2capChannel(int)

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象