public static class

AirshipReceiver.ActionButtonInfo

extends Object
java.lang.Object
   ↳ com.urbanairship.AirshipReceiver.ActionButtonInfo

Class Overview

Contains info about a notification action button.

Summary

Public Methods
String getButtonId()
Returns the button's ID.
Bundle getRemoteInput()
Remote input associated with the notification action.
boolean isForeground()
If the button should trigger a foreground action or not.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public String getButtonId ()

Returns the button's ID.

Returns
  • The button's ID.

public Bundle getRemoteInput ()

Remote input associated with the notification action. Only available if the action button defines LocalizableRemoteInput and the button was triggered from an Android Wear device or Android N.

Returns
  • The remote input associated with the action button.

public boolean isForeground ()

If the button should trigger a foreground action or not.

Returns
  • true if the action should trigger a foreground action, otherwise false.