Scope

public final class Scope extends Object

The Scope options for an Indexable.

Constant Summary

int CROSS_DEVICE The Indexable may get shared with the user's other devices, such as Google Home.
int ON_DEVICE The default scope of an Indexable.

Inherited Method Summary

Object
clone()
boolean
equals(Object arg0)
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()

Constants

public static final int CROSS_DEVICE

The Indexable may get shared with the user's other devices, such as Google Home.

Constant Value: 3

public static final int ON_DEVICE

The default scope of an Indexable. The Indexable will stay on device and surface in Google apps.

Constant Value: 2