Connection.RequestBluetoothAudio(BluetoothDevice) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
特定の Bluetooth デバイスへのオーディオ ルーティングを要求します。
[Android.Runtime.Register("requestBluetoothAudio", "(Landroid/bluetooth/BluetoothDevice;)V", "GetRequestBluetoothAudio_Landroid_bluetooth_BluetoothDevice_Handler", ApiSince=28)]
public virtual void RequestBluetoothAudio(Android.Bluetooth.BluetoothDevice bluetoothDevice);
[<Android.Runtime.Register("requestBluetoothAudio", "(Landroid/bluetooth/BluetoothDevice;)V", "GetRequestBluetoothAudio_Landroid_bluetooth_BluetoothDevice_Handler", ApiSince=28)>]
abstract member RequestBluetoothAudio : Android.Bluetooth.BluetoothDevice -> unit
override this.RequestBluetoothAudio : Android.Bluetooth.BluetoothDevice -> unit
パラメーター
- bluetoothDevice
- BluetoothDevice
接続先の Bluetooth デバイス。
- 属性
注釈
特定の Bluetooth デバイスへのオーディオ ルーティングを要求します。 このメソッドを呼び出すと、Bluetooth スタックが要求されたデバイスにオーディオをルーティングできない場合に、指定されたデバイスとは異なる Bluetooth デバイスにオーディオがルーティングされる可能性があります。 使用可能なデバイスの一覧は、次の方法で取得できます。 CallAudioState#getSupportedBluetoothDevices()
セルフマネージド ConnectionServiceに Bluetooth オーディオを使用するセルフマネージド Connectionで使用されます (PhoneAccount#CAPABILITY_SELF_MANAGEDを参照)。
関連項目 InCallService#requestBluetoothAudio(BluetoothDevice)
このメンバーは非推奨です。
#requestCallEndpointChange(CallEndpoint, Executor, OutcomeReceiver) を代わりに使用します。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。