Connection.RequestBluetoothAudio(BluetoothDevice) 메서드

정의

특정 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()

자체 관리형에 Bluetooth 오디오를 사용하려는 자체 관리 ConnectionServiceConnection 형 S에서 사용됩니다(.참조PhoneAccount#CAPABILITY_SELF_MANAGED).

참고 항목 InCallService#requestBluetoothAudio(BluetoothDevice)

이 멤버는 더 이상 사용되지 않습니다. #requestCallEndpointChange(CallEndpoint, Executor, OutcomeReceiver)를 대신 사용하세요.

에 대한 android.telecom.Connection.requestBluetoothAudio(android.bluetooth.BluetoothDevice)Java 설명서

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상