Notification.ProgressStyle.AddProgressSegment メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
進行状況バーの末尾にセグメントを追加します。
[Android.Runtime.Register("addProgressSegment", "(Landroid/app/Notification$ProgressStyle$Segment;)Landroid/app/Notification$ProgressStyle;", "GetAddProgressSegment_Landroid_app_Notification_ProgressStyle_Segment_Handler", ApiSince=36)]
public virtual Android.App.Notification.ProgressStyle AddProgressSegment(Android.App.Notification.ProgressStyle.Segment segment);
[<Android.Runtime.Register("addProgressSegment", "(Landroid/app/Notification$ProgressStyle$Segment;)Landroid/app/Notification$ProgressStyle;", "GetAddProgressSegment_Landroid_app_Notification_ProgressStyle_Segment_Handler", ApiSince=36)>]
abstract member AddProgressSegment : Android.App.Notification.ProgressStyle.Segment -> Android.App.Notification.ProgressStyle
override this.AddProgressSegment : Android.App.Notification.ProgressStyle.Segment -> Android.App.Notification.ProgressStyle
パラメーター
Notification.ProgressStyle.Segment: この値を null にすることはできません。
返品
この Android.App.Notification.ProgressStyle インスタンス。呼び出しをチェーンできます。
- 属性
注釈
進行状況バーの末尾にセグメントを追加します。 セグメントを使用すると、複数の色またはセクションを持つ進行状況バーを作成して、さまざまなステージまたは進行状況のカテゴリを表すことができます。 たとえば、ナビゲーション体験に沿った交通状況などです。
android.app.Notification.ProgressStyle.addProgressSegmentの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。