IModelDownloadListener.OnProgress(Int32) Method
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.
Called by RecognitionService
only if the download has started after the request.
[Android.Runtime.Register("onProgress", "(I)V", "GetOnProgress_IHandler:Android.Speech.IModelDownloadListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public void OnProgress (int completedPercent);
[<Android.Runtime.Register("onProgress", "(I)V", "GetOnProgress_IHandler:Android.Speech.IModelDownloadListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnProgress : int -> unit
- completedPercent
- Int32
the percentage of download that is completed
- Attributes
Called by RecognitionService
only if the download has started after the request.
The number of calls to this method varies depending of the RecognitionService
implementation. If the download finished quickly enough, #onSuccess()
may be called directly. In other cases, this method may be called any number of times during the download.
Java documentation for android.speech.ModelDownloadListener.onProgress(int)
.
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.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |