The builder for Indexable.Metadata.
|
Indexable.Metadata.Builder()
The constructor.
|
| Indexable.Metadata.Builder |
setScope(int scope)
Set the scope of the Indexable.
|
| Indexable.Metadata.Builder |
setScore(int score)
Sets the score of the object.
|
| Indexable.Metadata.Builder | |
| Indexable.Metadata.Builder |
setWorksOffline(boolean worksOffline)
Sets whether the object is available offline in the app.
|
The constructor.
Sets the score of the object.
The score signifies the relative importance of this compared to other objects in the index from the app.
| score | The score. The default is zero (0), negative values are not allowed. |
|---|
Sets whether the object is available offline in the app.
Working offline means that a user is able to launch the app with the URL and interact with the content without network connections, e.g. in airplane mode.
| worksOffline | Represents whether the object works offline. The default is
false. |
|---|