Thing.Builder
Public Constructor Summary
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
Sets a property of the content.
Parameters
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 properties of the content.
Parameters
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.
Parameters
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 a property of the content.
Parameters
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.
Parameters
key |
The schema.org property. Must not be null. |
value |
The value of the schema.org property. |
Sets the optional description of the content.
Parameters
description |
The description of the content. |
Sets the optional web URL of the content.
Parameters
id |
The equivalent web url for the content. |
Sets the name of the content.
Parameters
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.
Parameters
type |
The schema.org type of the content. |
Sets the URL of the content in the app.
Parameters
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-11 UTC.
[null,null,["Last updated 2021-02-11 UTC."],[],[]]