BluetoothHeadset.IsVoiceRecognitionSupported(BluetoothDevice) 方法

定义

检查耳机是否支持语音识别

[Android.Runtime.Register("isVoiceRecognitionSupported", "(Landroid/bluetooth/BluetoothDevice;)Z", "", ApiSince=31)]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public bool IsVoiceRecognitionSupported (Android.Bluetooth.BluetoothDevice device);
[<Android.Runtime.Register("isVoiceRecognitionSupported", "(Landroid/bluetooth/BluetoothDevice;)Z", "", ApiSince=31)>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.IsVoiceRecognitionSupported : Android.Bluetooth.BluetoothDevice -> bool

参数

device
BluetoothDevice

蓝牙设备

返回

如果支持语音识别,则为 true;否则为 false

属性

注解

适用于 . 的 android.bluetooth.BluetoothHeadset.isVoiceRecognitionSupported(android.bluetooth.BluetoothDevice)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于