-
public interface PushMessageButtonInterface representing a button associated with a push message.
-
-
Method Summary
Modifier and Type Method Description abstract UnitrecordAction(Context context)Record action event for this button, usually after a click. abstract IntegergetIndex()Index of the button (starts from 1). abstract StringgetTitle()Title of the button. abstract UrigetLink()Link associated with the button. abstract IntegergetIcon()Icon resource ID for the button. -
-
Method Detail
-
recordAction
abstract Unit recordAction(Context context)
Record action event for this button, usually after a click.
- Parameters:
context- Context to run in.
-
getIndex
abstract Integer getIndex()
Index of the button (starts from 1).
-
getTitle
abstract String getTitle()
Title of the button.
-
getLink
abstract Uri getLink()
Link associated with the button.
-
getIcon
abstract Integer getIcon()
Icon resource ID for the button. Default can be 0.
-
-
-
-