BluetoothHeadset.StopVoiceRecognition(BluetoothDevice) Method

Definition

Stop Bluetooth Voice Recognition mode, and shut down the Bluetooth audio path.

[Android.Runtime.Register("stopVoiceRecognition", "(Landroid/bluetooth/BluetoothDevice;)Z", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public bool StopVoiceRecognition (Android.Bluetooth.BluetoothDevice? device);
[<Android.Runtime.Register("stopVoiceRecognition", "(Landroid/bluetooth/BluetoothDevice;)Z", "")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.StopVoiceRecognition : Android.Bluetooth.BluetoothDevice -> bool

Parameters

device
BluetoothDevice

Bluetooth headset

Returns

false if there is no headset connected, or voice recognition has not started, or voice recognition has ended on this headset, or on error, true otherwise

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothHeadset.stopVoiceRecognition(android.bluetooth.BluetoothDevice).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to