Send feedback
Thing.Builder
Stay organized with collections
Save and categorize content based on your preferences.
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.
Send feedback
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.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-02-11 UTC."],[],[]]