語言

Notification.Builder.SetProgress(Int32, Int32, Boolean) 方法

定義

設定這個通知所代表的進度。

[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

參數

max
Int32

int

progress
Int32

int

indeterminate
Boolean

boolean

傳回

這個 Android.App.Notification.Builder 實例,允許通話串接。

屬性

備註

設定這個通知所代表的進度。 平台範本會用進度條來表示這個。

Android 參考資料。android.app.Notification.Builder.setProgress

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於