Notification.ProgressStyle.SetProgress(Int32) メソッド

定義

トラッカーの進行状況 (Segment.getLength() と同じ単位で、バーの長さに沿って指定します。

[Android.Runtime.Register("setProgress", "(I)Landroid/app/Notification$ProgressStyle;", "GetSetProgress_IHandler", ApiSince=36)]
public virtual Android.App.Notification.ProgressStyle SetProgress(int progress);
[<Android.Runtime.Register("setProgress", "(I)Landroid/app/Notification$ProgressStyle;", "GetSetProgress_IHandler", ApiSince=36)>]
abstract member SetProgress : int -> Android.App.Notification.ProgressStyle
override this.SetProgress : int -> Android.App.Notification.ProgressStyle

パラメーター

progress
Int32

int: 値が 0 以上

返品

この Android.App.Notification.ProgressStyle インスタンス。呼び出しをチェーンできます。

属性

注釈

トラッカーの進行状況 (Segment.getLength() と同じ単位で、バーの長さに沿って指定します。 最大進行状況の値は、すべてのセグメント長の合計です。 既定値は 0 です。

android.app.Notification.ProgressStyle.setProgressの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象