| java.lang.Object | |
| ↳ | com.usebutton.sdk.action.ActionRequest |
This class is deprecated.
Button Actions has been deprecated. Please contact Button to update your integration.
A Button Action request defines the parameters for fetching an action.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
ActionRequest(String buttonId, ActionQuery query)
Creates a new Button Action request with the given button id and query.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | getButtonId() | ||||||||||
| String | getPubRef() | ||||||||||
| ActionQuery | getQuery() | ||||||||||
| void | setPubRef(String pubRef) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a new Button Action request with the given button id and query.
| buttonId | the identifier for your button (e.g. btn-xxxxxxxxxxxx). |
|---|---|
| query | an action query object providing context about your user's current activity. |