Notification.Builder.SetProgress(Int32, Int32, Boolean) Method

Definition

Set the progress this notification represents.

[Android.Runtime.Register("setProgress", "(IIZ)Landroid/app/Notification$Builder;", "GetSetProgress_IIZHandler")]
public virtual Android.App.Notification.Builder SetProgress(int max, int progress, bool indeterminate);
[<Android.Runtime.Register("setProgress", "(IIZ)Landroid/app/Notification$Builder;", "GetSetProgress_IIZHandler")>]
abstract member SetProgress : int * int * bool -> Android.App.Notification.Builder
override this.SetProgress : int * int * bool -> Android.App.Notification.Builder

Parameters

max
Int32

int

progress
Int32

int

indeterminate
Boolean

boolean

Returns

This Android.App.Notification.Builder instance, allowing calls to be chained.

Attributes

Remarks

Set the progress this notification represents. The platform template will represent this using a ProgressBar.

Android reference for android.app.Notification.Builder.setProgress.

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