This class is deprecated.
Please Migrate to the
Firebase App Indexing API
Nested Class Summary
class | Action.Builder | This class is deprecated. Please Migrate to the Firebase App Indexing API |
Constant Summary
String | STATUS_TYPE_ACTIVE | The status of an active action (i.e. an action that has started but not yet completed). |
String | STATUS_TYPE_COMPLETED | The status of a completed action. |
String | STATUS_TYPE_FAILED | The status of a failed action. |
String | TYPE_ACTIVATE | The act of starting or activating a device or application. |
String | TYPE_ADD | The act of editing by adding an object to a collection. |
String | TYPE_BOOKMARK | The act of bookmarking an object. |
String | TYPE_COMMUNICATE | The act of conveying information to another person via a communication medium (instrument) such as speech, email, or telephone conversation. |
String | TYPE_FILM | The act of capturing sound and moving images on film, video, or digitally. |
String | TYPE_LIKE | The act of liking an object. |
String | TYPE_LISTEN | The act of consuming audio content. |
String | TYPE_PHOTOGRAPH | The act of capturing still images of objects using a camera. |
String | TYPE_RESERVE | The act of making a reservation at a business such as a restaurant. |
String | TYPE_SEARCH | The act of searching for an object. |
String | TYPE_VIEW | The act of consuming static visual content. |
String | TYPE_WANT | The act of expressing a desire about the object. |
String | TYPE_WATCH | The act of watching an object. |
Public Method Summary
static Action | |
static Action |
Inherited Method Summary
Constants
public static final String STATUS_TYPE_ACTIVE
The status of an active action (i.e. an action that has started but not yet completed).
public static final String STATUS_TYPE_COMPLETED
The status of a completed action.
public static final String STATUS_TYPE_FAILED
The status of a failed action.
public static final String TYPE_ACTIVATE
The act of starting or activating a device or application.
public static final String TYPE_ADD
The act of editing by adding an object to a collection.
public static final String TYPE_BOOKMARK
The act of bookmarking an object.
public static final String TYPE_COMMUNICATE
The act of conveying information to another person via a communication medium (instrument) such as speech, email, or telephone conversation.
public static final String TYPE_FILM
The act of capturing sound and moving images on film, video, or digitally.
public static final String TYPE_LIKE
The act of liking an object.
public static final String TYPE_LISTEN
The act of consuming audio content.
public static final String TYPE_PHOTOGRAPH
The act of capturing still images of objects using a camera.
public static final String TYPE_RESERVE
The act of making a reservation at a business such as a restaurant.
public static final String TYPE_SEARCH
The act of searching for an object.
public static final String TYPE_VIEW
The act of consuming static visual content.
public static final String TYPE_WANT
The act of expressing a desire about the object.
public static final String TYPE_WATCH
The act of watching an object.
Public Methods
public static Action newAction (String actionType, String objectName, Uri objectId, Uri objectAppUri)
Creates a new action.
Parameters
actionType | The schema.org action type (e.g. "//schema.org/ListenAction"). |
---|---|
objectName | The name of the content, must not be null. For more information, visit these guidelines for providing a descriptive name. |
objectId | The equivalent web url for the content, if available. Can be null. |
objectAppUri | The app URI of the content, must not be null. The URI must be in the App Indexing format. |
public static Action newAction (String actionType, String objectName, Uri objectAppUri)
Creates a new action.
Parameters
actionType | The schema.org action type (e.g. "//schema.org/ListenAction"). |
---|---|
objectName | The name of the content, must not be null. For more information, visit these guidelines for providing a descriptive name. |
objectAppUri | The app URI of the content, must not be null. The URI must be in the App Indexing format. |