Language

BluetoothLeAudio.GetGroupId(BluetoothDevice) メソッド

定義

デバイス グループ ID を取得します。

[Android.Runtime.Register("getGroupId", "(Landroid/bluetooth/BluetoothDevice;)I", "", ApiSince=33)]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public int GetGroupId(Android.Bluetooth.BluetoothDevice device);
[<Android.Runtime.Register("getGroupId", "(Landroid/bluetooth/BluetoothDevice;)I", "", ApiSince=33)>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.GetGroupId : Android.Bluetooth.BluetoothDevice -> int

パラメーター

device
BluetoothDevice

LE オーディオ対応デバイス

返品

このデバイスが現在属しているグループ ID(このデバイスがグループに属していない場合に #GROUP_ID_INVALID )

属性

注釈

デバイス グループ ID を取得します。同じグループ ID を持つデバイスは、同じグループ (つまり、左右のイヤホン) に属しています

Javaドキュメント。

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

適用対象