Language

Notification.Actions プロパティ

定義

Builder.addAction(int,CharSequence,PendingIntent) によってこの通知にアタッチされているすべての Action 構造体の配列。

[Android.Runtime.Register("actions")]
public System.Collections.Generic.IList<Android.App.Notification.Action>? Actions { get; set; }
[<Android.Runtime.Register("actions")>]
member this.Actions : System.Collections.Generic.IList<Android.App.Notification.Action> with get, set

プロパティ値

ネイティブ アクション配列の固定サイズ ビュー。配列が設定されていない場合は null 。

属性

注釈

返されるリストは、ネイティブ アクション配列によってサポートされます。 その要素は置き換えることができますが、サイズを変更することはできません。 このプロパティは、ほとんどの場合、アクションを呼び出すための代替インターフェイスを提供する NotificationListenerService のインスタンスに役立ちます。

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

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

適用対象