public static class

WearableNotifications.Action

extends NotificationCompat.Action
java.lang.Object
   ↳ android.support.v4.app.NotificationCompat.Action
     ↳ android.preview.support.wearable.notifications.WearableNotifications.Action

Class Overview

Subclass of NotificationCompat.Action which adds support for additional wearable extensions.

To create a new Action, use the WearableNotifications.Action.Builder class and then call addAction(WearableNotifications.Action) to add the action to a notification.

Example:

 WearableNotifications.Builder builder = new WearableNotifications.Builder(mContext)
         .addAction(new WearableNotifications.Action.Builder(
                 R.drawable.navigate, "Navigate", pendingIntent)
                 .build())
         .setLocalOnly(true);
 Notification notif = builder.build();

Summary

Nested Classes
class WearableNotifications.Action.Builder Builder class for WearableNotifications.Action objects. 
Fields
public final Bundle extras
[Expand]
Inherited Fields
From class android.support.v4.app.NotificationCompat.Action
Public Methods
RemoteInput[] getRemoteInputs()
Get a list of inputs to be collected from the user when this action is sent.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public final Bundle extras

Public Methods

public RemoteInput[] getRemoteInputs ()

Get a list of inputs to be collected from the user when this action is sent.