BluetoothHeadset.StopVoiceRecognition(BluetoothDevice) メソッド

定義

音声認識モードBluetooth停止し、Bluetoothオーディオ パスをシャットダウンします。

[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

パラメーター

device
BluetoothDevice

Bluetooth ヘッドセット

返品

ヘッドセットが接続されていない場合、または音声認識が開始されていない場合、または音声認識がこのヘッドセットで終了した場合、またはエラーが発生した場合は false。それ以外の場合は true

属性

注釈

音声認識モードBluetooth停止し、Bluetoothオーディオ パスをシャットダウンします。

ユーザーは #ACTION_AUDIO_STATE_CHANGEDをリッスンできます。 この関数が true を返す場合、この意図は #EXTRA_STATE#STATE_AUDIO_DISCONNECTED に設定されてブロードキャストされます。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象