Wearable.WearableOptions
Options for the Wearable API.
Inherited Field Summary
From interface
com.google.android.gms.common.api.Api.ApiOptions
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
public boolean equals (Object object)
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 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["`Wearable.WearableOptions` provides configuration options for the Wearable API, such as specifying the Looper for listener callbacks."],["Developers can use a `Wearable.WearableOptions.Builder` to create instances of `Wearable.WearableOptions`."],["If a Looper is not specified in the options, callbacks will default to the main thread."],["`Wearable.WearableOptions` includes standard methods like `equals` and `hashCode` for object comparison."]]],["WearableOptions, an optional API for the Wearable API, allows for the specification of a Looper for listener callbacks, such as DataClient.OnDataChangedListener. If not provided, callbacks occur on the main thread. The Builder class facilitates WearableOptions creation. It also features `equals()` and `hashCode()` methods for object comparison. It inherits `NO_OPTIONS` from the parent class, `Api.ApiOptions.NoOptions`.\n"]]