AsyncTask<TParams,TProgress,TResult>.OnProgressUpdate 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.
Overloads
| Name | Description |
|---|---|
| OnProgressUpdate(Object[]) |
Runs on the UI thread after progress is published. |
| OnProgressUpdate(TProgress[]) |
Runs on the UI thread after publishProgress(Progress) is invoked. The specified values are the values passed to publishProgress(Progress) . The default version does nothing. This method must be called from the main thread of your app. |
OnProgressUpdate(Object[])
Runs on the UI thread after progress is published.
protected override void OnProgressUpdate(params Java.Lang.Object[]? native_values);
override this.OnProgressUpdate : Java.Lang.Object[] -> unit
Parameters
- native_values
- Object[]
The progress values to publish.
Remarks
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
OnProgressUpdate(TProgress[])
Runs on the UI thread after publishProgress(Progress) is invoked. The specified values are the values passed to publishProgress(Progress) . The default version does nothing. This method must be called from the main thread of your app.
[Android.Runtime.Register("onProgressUpdate", "([Ljava/lang/Object;)V", "GetOnProgressUpdate_arrayLjava_lang_Object_Handler")]
protected virtual void OnProgressUpdate(params TProgress[] values);
[<Android.Runtime.Register("onProgressUpdate", "([Ljava/lang/Object;)V", "GetOnProgressUpdate_arrayLjava_lang_Object_Handler")>]
override this.OnProgressUpdate : 'Progress[] -> unit
Parameters
- values
- TProgress[]
The values indicating progress.
- Attributes
Remarks
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.
Java documentation for android.os.AsyncTask.onProgressUpdate(Progress[]).