public static classThing.BuilderextendsObject
Known Direct Subclasses |
This class is deprecated.
PleaseMigrate to the
Firebase App Inde xing API
Public Constructor Summary
Builder()
|
Public Method Summary
Thing | |
Thing.Builder | |
Thing.Builder | |
Thing.Builder | |
Thing.Builder | |
Thing.Builder | |
Thing.Builder | |
Thing.Builder | |
Thing.Builder | |
Thing.Builder | |
Thing.Builder |
Inherited Method Summary
Public Constructors
publicBuilder()
Public Methods
publicThing.Builder put(Stringkey,Thing value)
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 aThing .
If null, the value will be ignored. |
publicThing.Builder put(Stringkey,Thing[] values)
Sets properties of the content.
Parameters
key | The schema.org property. Must not be null. |
---|---|
values | The array of values represented as aThing .
If null, the values will be ignored. |
publicThing.Builder put(Stringkey,Stringvalue)
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. |
publicThing.Builder put(Stringkey,String[]values)
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. |
publicThing.Builder put(Stringkey, boolean value)
Sets a property of the content.
Parameters
key | The schema.org property. Must not be null. |
---|---|
value | The value of the schema.org property. |
publicThing.Builder setDescription(String description)
Sets the optional description of the content.
Parameters
description | The description of the content. |
---|
publicThing.Builder setId(Stringid)
Sets the optional web URL of the content.
Parameters
id | The equivalent web url for the content. |
---|
publicThing.Builder setName(Stringname)
Sets the name of the content.
Parameters
name | The name of the content, must not be null. For more information, visitthese guidelinesfor providing a descriptive name. |
---|
publicThing.Builder setType(Stringtype)
Sets the schema.org type of the content.
Parameters
type | The schema.org type of the content. |
---|
publicThing.Builder setUrl(Uriurl)
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 theApp Inde xingformat. In either case, the app calling this method needs to handle corresponding incoming Intents and take users to that content. |
---|