| java.lang.Object | ||
| ↳ | android.support.v4.app.NotificationCompat.Action | |
| ↳ | android.preview.support.wearable.notifications.WearableNotifications.Action | |
Subclass of NotificationCompat.Action that adds additional
wearable extensions for actions.
Always use the WearableNotifications.Action.Builder to build instances of this class and call
addAction(WearableNotifications.Action) to add the action to a notification.
WearableNotifications.Builder builder = new WearableNotifications.Builder(mContext)
.addAction(new WearableNotifications.Action.Builder(
R.drawable.navigate, "Navigate", pendingIntent)
.build())
.setLocalOnly(true);
Notification notif = builder.build();
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| WearableNotifications.Action.Builder | Builder class for WearableNotifications.Action objects. |
||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| extras | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.support.v4.app.NotificationCompat.Action
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Get a list of inputs to be collected from the user when this action is sent.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Get a list of inputs to be collected from the user when this action is sent.
RemoteInput objects associated with this action