Share via


IModelDownloadListener.OnSuccess Method

Definition

This method is called: <li> if the model is already available; <li> if the RecognitionService has started and completed the download.

[Android.Runtime.Register("onSuccess", "()V", "GetOnSuccessHandler:Android.Speech.IModelDownloadListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public void OnSuccess ();
[<Android.Runtime.Register("onSuccess", "()V", "GetOnSuccessHandler:Android.Speech.IModelDownloadListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnSuccess : unit -> unit
Attributes

Remarks

This method is called: <li> if the model is already available; <li> if the RecognitionService has started and completed the download.

Once this method is called, the model can be safely used to satisfy recognition requests.

Java documentation for android.speech.ModelDownloadListener.onSuccess().

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