Scope

public final classScope extendsObject

The Scope options for anIndexable.

Constant Summary

intCROSS_DEVICETheIndexable may get shared with the user's other devices, such as Google Home.
intON_DEVICEThe default scope of anIndexable.

Inherited Method Summary

From class java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
finalClass<?>
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 intCROSS_DEVICE

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

Constant Value:3

public static final intON_DEVICE

The default scope of anIndexable. TheIndexable will stay on device and surface in Google apps.

Constant Value:2

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2021-02-11 UTC.