Language

InCallService.RequestBluetoothAudio(BluetoothDevice) メソッド

定義

特定の Bluetooth デバイスへのオーディオ ルーティングを要求します。

[Android.Runtime.Register("requestBluetoothAudio", "(Landroid/bluetooth/BluetoothDevice;)V", "", ApiSince=28)]
public void RequestBluetoothAudio(Android.Bluetooth.BluetoothDevice bluetoothDevice);
[<Android.Runtime.Register("requestBluetoothAudio", "(Landroid/bluetooth/BluetoothDevice;)V", "", ApiSince=28)>]
member this.RequestBluetoothAudio : Android.Bluetooth.BluetoothDevice -> unit

パラメーター

bluetoothDevice
BluetoothDevice

接続先の Bluetooth デバイス。

属性

注釈

特定の Bluetooth デバイスへのオーディオ ルーティングを要求します。 このメソッドを呼び出すと、Bluetooth スタックが要求されたデバイスにオーディオをルーティングできない場合に、指定されたデバイスとは異なる Bluetooth デバイスにオーディオがルーティングされる可能性があります。 使用可能なデバイスの一覧は、次の方法で取得できます。 CallAudioState#getSupportedBluetoothDevices()

このメンバーは非推奨です。 #requestCallEndpointChange(CallEndpoint, Executor, OutcomeReceiver) を代わりに使用します。

Javaドキュメント。

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

適用対象