Action Stay organized with collections Save and categorize content based on your preferences.
This class is deprecated.
PleaseMigrate to the Firebase App Indexing API
Nested Class Summary
| class | Action.Builder | This class is deprecated. PleaseMigrate 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
| staticAction | |
| staticAction |
Inherited Method Summary
Constants
public static finalStringSTATUS_TYPE_ACTIVE
The status of an active action (i.e. an action that has started but not yet completed).
public static finalStringSTATUS_TYPE_COMPLETED
The status of a completed action.
public static finalStringSTATUS_TYPE_FAILED
The status of a failed action.
public static finalStringTYPE_ACTIVATE
The act of starting or activating a device or application.
public static finalStringTYPE_ADD
The act of editing by adding an object to a collection.
public static finalStringTYPE_BOOKMARK
The act of bookmarking an object.
public static finalStringTYPE_COMMUNICATE
The act of conveying information to another person via a communication medium (instrument) such as speech, email, or telephone conversation.
public static finalStringTYPE_FILM
The act of capturing sound and moving images on film, video, or digitally.
public static finalStringTYPE_LIKE
The act of liking an object.
public static finalStringTYPE_LISTEN
The act of consuming audio content.
public static finalStringTYPE_PHOTOGRAPH
The act of capturing still images of objects using a camera.
public static finalStringTYPE_RESERVE
The act of making a reservation at a business such as a restaurant.
public static finalStringTYPE_SEARCH
The act of searching for an object.
public static finalStringTYPE_VIEW
The act of consuming static visual content.
public static finalStringTYPE_WANT
The act of expressing a desire about the object.
public static finalStringTYPE_WATCH
The act of watching an object.
Public Methods
public staticActionnewAction(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, visitthese 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 theApp Indexing format. |
public staticActionnewAction(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, visitthese guidelines for providing a descriptive name. |
| objectAppUri | The app URI of the content, must not be null. The URI must be in theApp Indexing format. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-11 UTC.