BluetoothHeadset.IsAudioConnected(BluetoothDevice) メソッド

定義

SCO オーディオBluetooth接続されているかどうかを確認します。

[Android.Runtime.Register("isAudioConnected", "(Landroid/bluetooth/BluetoothDevice;)Z", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public bool IsAudioConnected(Android.Bluetooth.BluetoothDevice? device);
[<Android.Runtime.Register("isAudioConnected", "(Landroid/bluetooth/BluetoothDevice;)Z", "")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.IsAudioConnected : Android.Bluetooth.BluetoothDevice -> bool

パラメーター

device
BluetoothDevice

Bluetooth ヘッドセット

返品

SCO が接続されている場合は true、それ以外の場合は false、エラー時は true

属性

注釈

SCO オーディオBluetooth接続されているかどうかを確認します。

Javaドキュメント。

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

適用対象