| Known Direct Subclasses |
The builder for Action.
| String | ACTIVATE_ACTION | The act of starting or activating something. |
| String | ADD_ACTION | The act of editing by adding something to a collection (e.g. an item to a shopping cart or movie to a queue). |
| String | BOOKMARK_ACTION | The act of bookmarking something (e.g. an article or song). |
| String | COMMENT_ACTION | The act of commenting on something (e.g. an article or social media post). |
| String | LIKE_ACTION | The act of liking something (e.g. a book, song or article). |
| String | LISTEN_ACTION | The act of listening to something (e.g. music or a podcast). |
| String | SEND_ACTION | The act of sending a message. |
| String | SHARE_ACTION | The act of sharing something (e.g. a document or social media post) |
| 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 | VIEW_ACTION | The act of viewing something (e.g. an article or profile). |
| String | WATCH_ACTION | The act of watching something (e.g. a video, movie or TV show). |
| Action |
build()
Builds the action.
|
| Action.Builder | |
| Action.Builder | |
| Action.Builder |
put(String key,
Indexable...
values)
Sets one or multiple
Indexable
values for a property, replacing its previous values.
|
| Action.Builder | |
| Action.Builder | |
| Action.Builder | |
| Action.Builder | |
| final Action.Builder | |
| Action.Builder | |
| Action.Builder | |
| Action.Builder | |
| final Action.Builder |
The act of starting or activating something.
The act of editing by adding something to a collection (e.g. an item to a shopping cart or movie to a queue).
The act of bookmarking something (e.g. an article or song).
The act of commenting on something (e.g. an article or social media post).
The act of liking something (e.g. a book, song or article).
The act of listening to something (e.g. music or a podcast).
The act of sending a message.
The act of sharing something (e.g. a document or social media post)
The status of an active action (i.e. an action that has started but not yet completed).
The status of a completed action.
The status of a failed action.
The act of viewing something (e.g. an article or profile).
The act of watching something (e.g. a video, movie or TV show).
The constructor.
| type | The Schema.org type best describing this action (use one of the constants on this class, or refer to //schema.org/Action for a list of standard action types). |
|---|
Builds the action.
Sets one or multiple double values for a property, replacing its previous values.
| key | The property. Must not be null. |
|---|---|
| values | The double values of the property. |
Sets one or multiple boolean values for a property, replacing its previous values.
| key | The property. Must not be null. |
|---|---|
| values | The boolean values of the property. |
Sets one or multiple Indexable
values for a property, replacing its previous values.
| key | The schema.org property. Must not be null. |
|---|---|
| values | The values represented as an Indexable.
Null values are ignored. Indexables
must be constructed using Indexable.Builder
or convenience methods. |
Sets one or multiple string values for a property, replacing its previous values.
| key | The property. Must not be null. |
|---|---|
| values | The string values of the property. Null values are ignored. |
Sets one or multiple long values for a property, replacing its previous values.
| key | The property. Must not be null. |
|---|---|
| values | The long values of the property. |
Sets the status of the action. Optional.
Sets the metadata for this action. Optional.
Sets the name of the action (e.g. Ride using Waymo LLC).
Sets the object that the action is taken on (e.g. the article being viewed, or the song being listened to).
| name | The name of the object (e.g. the title of an article, or name of a song). Must not be null. |
|---|---|
| url | The URL of the object (this URL needs to be handled by the app to take the user to the right place). Must be a valid URL. |
| webUrl | The web URL of the object, if different from url. Must be a valid
URL. |
Sets the object that the action is taken on (e.g. the article being viewed, or the song being listened to).
| name | The name of the object (e.g. the title of an article, or name of a song). Must not be null. |
|---|---|
| url | The URL of the object (this URL needs to be handled by the app to take the user to the right place). Must be a valid URL. |
Sets the result of the action. Optional.
| values | Results of performing the action. |
|---|
Sets the URL of the action.
Must match Object URL when both are set.
| url | The URL to start an activity to (re)perform the action. Must be a valid URL. |
|---|