Language

Notification.WearableExtender.AddActions メソッド

定義

この通知にウェアラブル アクションを追加します。

[Android.Runtime.Register("addActions", "(Ljava/util/List;)Landroid/app/Notification$WearableExtender;", "")]
public Android.App.Notification.WearableExtender? AddActions(System.Collections.Generic.IList<Android.App.Notification.Action>? actions);
[<Android.Runtime.Register("addActions", "(Ljava/util/List;)Landroid/app/Notification$WearableExtender;", "")>]
member this.AddActions : System.Collections.Generic.IList<Android.App.Notification.Action> -> Android.App.Notification.WearableExtender

パラメーター

actions
IList<Notification.Action>

リスト: この通知に追加するアクション

返品

メソッドチェーン用のこのオブジェクト

属性

注釈

この通知にウェアラブル アクションを追加します。 このメソッドを使用してウェアラブル アクションを追加すると、ウェアラブル デバイスに表示される一連のアクションが、Notification.Builder.addAction(Action) を使用して追加されたアクションのみを表示するデバイスから分割されます。 これにより、さまざまなデバイスに表示されるアクションをカスタマイズできます。

関連項目も参照:

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

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

適用対象