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

Definition

Set the progress that this notification represents.

C#
[Android.Runtime.Register("setProgress", "(IIZ)Landroid/app/Notification$Builder;", "GetSetProgress_IIZHandler")]
public virtual Android.App.Notification.Builder SetProgress (int max, int progress, bool indeterminate);

Parameters

max
Int32

Defines the maximum value the progress can take.

progress
Int32

Defines the default progress value, between 0 and max.

indeterminate
Boolean

If set to true, shows acyclic animation without an indication of progress.

Returns

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.

Applies to

Product Versions
.NET for Android .NET for Android API 34, .NET for Android API 35