Page Summary
-
Wearable.WearableOptions provides options for the Wearable API, such as specifying the Looper for listener callbacks.
-
The Wearable.WearableOptions.Builder class is used to build instances of Wearable.WearableOptions.
-
This class inherits methods from
java.lang.Objectand theApi.ApiOptionsinterface.
public static final class Wearable.WearableOptions extends Object
implements Api.ApiOptions.Optional
implements Api.ApiOptions.Optional
Options for the Wearable API.
-
Supported options:
- Looper: the
Looperused in listener callbacks for this client, such asDataClient.OnDataChangedListener. If not supplied, callbacks will be made on the main thread.
See Also
Nested Class Summary
| class | Wearable.WearableOptions.Builder | Builder class for Wearable.WearableOptions
|
|
Inherited Field Summary
Public Method Summary
| boolean | |
| int |
hashCode()
|