BluetoothHeadset.GetCodecType(BluetoothDevice) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 HFP 연결된 디바이스의 코덱 유형을 가져옵니다.
[Android.Runtime.Register("getCodecType", "(Landroid/bluetooth/BluetoothDevice;)I", "", ApiSince=37)]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public Android.Bluetooth.BluetoothHeadsetCodecType GetCodecType(Android.Bluetooth.BluetoothDevice device);
[<Android.Runtime.Register("getCodecType", "(Landroid/bluetooth/BluetoothDevice;)I", "", ApiSince=37)>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.GetCodecType : Android.Bluetooth.BluetoothDevice -> Android.Bluetooth.BluetoothHeadsetCodecType
매개 변수
- device
- BluetoothDevice
원격 Bluetooth 디바이스입니다. null이 아니어야 합니다.
반품
지정된 HFP 연결된 디바이스의 코덱 형식입니다. Bluetooth가 꺼져 있거나, 프로필이 연결되지 않았거나, 디바이스가 연결되지 않았거나, 코덱 협상이 완료되지 않았거나, 오류가 발생하는 경우 반환 #CODEC_TYPE_UNSUPPORTED 합니다.
- 특성