Notification.WearableExtender.AddAction(Notification+Action) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
この通知にウェアラブル アクションを追加します。
[Android.Runtime.Register("addAction", "(Landroid/app/Notification$Action;)Landroid/app/Notification$WearableExtender;", "")]
public Android.App.Notification.WearableExtender? AddAction(Android.App.Notification.Action? action);
[<Android.Runtime.Register("addAction", "(Landroid/app/Notification$Action;)Landroid/app/Notification$WearableExtender;", "")>]
member this.AddAction : Android.App.Notification.Action -> Android.App.Notification.WearableExtender
パラメーター
- action
- Notification.Action
Notification.Action: この通知に追加するアクション
返品
メソッドチェーン用のこのオブジェクト
- 属性
注釈
この通知にウェアラブル アクションを追加します。 このメソッドを使用してウェアラブル アクションを追加すると、ウェアラブル デバイスに表示される一連のアクションが、Notification.Builder.addAction(Action) を使用して追加されたアクションのみを表示するデバイスから分割されます。 これにより、さまざまなデバイスに表示されるアクションをカスタマイズできます。
関連項目も参照:
android.app.Notification.WearableExtender.addActionの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。