AlwaysOnHotwordDetector.Callback.OnError Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
To be added
[Android.Runtime.Register("onError", "()V", "GetOnErrorHandler")]
public abstract void OnError ();
[<Android.Runtime.Register("onError", "()V", "GetOnErrorHandler")>]
abstract member OnError : unit -> unit
- Attributes
Remarks
To be added
This member is deprecated. On android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE
and above, implement HotwordDetector.Callback#onFailure(HotwordDetectionServiceFailure)
, AlwaysOnHotwordDetector.Callback#onFailure(SoundTriggerFailure)
, HotwordDetector.Callback#onUnknownFailure(String)
instead.
Java documentation for android.service.voice.AlwaysOnHotwordDetector.Callback.onError()
.
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.