java.lang.Object | |
↳ | com.google.android.gms.appindexing.Thing.Builder |
![]() |
Create a builder for a Thing
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Build the
Thing object.
| |||||||||||
Sets properties of the content.
| |||||||||||
Sets a property of the content.
| |||||||||||
Sets a property of the content.
| |||||||||||
Sets a property of the content.
| |||||||||||
Sets the optional description of the content.
| |||||||||||
Sets the optional web URL of the content.
| |||||||||||
Sets the name of the content.
| |||||||||||
Sets the schema.org type of the content.
| |||||||||||
Sets the URL of the content in the app.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Sets properties of the content.
key | The schema.org property. Must not be null. |
---|---|
values | The array of values represented as a Thing .
If null, the values will be ignored.
|
Sets a property of the content.
key | The schema.org property. Must not be null. |
---|---|
value | The value of the schema.org property represented as a Thing .
If null, the value will be ignored.
|
Sets a property of the content.
key | The schema.org property. Must not be null. |
---|---|
values | The array of string values. If null, the values will be ignored. |
Sets a property of the content.
key | The schema.org property. Must not be null. |
---|---|
value | The value of the schema.org property. If null, the value will be ignored. |
Sets the optional description of the content.
description | The description of the content. |
---|
Sets the optional web URL of the content.
id | The equivalent web url for the content. |
---|
Sets the name of the content.
name | The name of the content, must not be null. For more information, visit these guidelines for providing a descriptive name. |
---|
Sets the schema.org type of the content.
type | The schema.org type of the content. |
---|
Sets the URL of the content in the app.
url | The app URI of the content, must not be null. The URI must either be an HTTP(S) URL, or use the App Indexing format. In either case, the app calling this method needs to handle corresponding incoming Intents and take users to that content. |
---|