public class

ActionRequest

extends Object
java.lang.Object
   ↳ com.usebutton.sdk.action.ActionRequest

This class is deprecated.
Button Actions has been deprecated. Please contact Button to update your integration.

Class Overview

A Button Action request defines the parameters for fetching an action.

Summary

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

Public Constructors

public ActionRequest (String buttonId, ActionQuery query)

Creates a new Button Action request with the given button id and query.

Parameters
buttonId the identifier for your button (e.g. btn-xxxxxxxxxxxx).
query an action query object providing context about your user's current activity.

Public Methods

public String getButtonId ()

public String getPubRef ()

public ActionQuery getQuery ()

public void setPubRef (String pubRef)