androidx.wear.watchface.client
Note: As of July 10, 2024, watch faces must use the Watch Face Format in order to be installed on new watches that launch with Wear OS 5 pre-installed. Learn more about the user-facing changes in this Help Center article.
Additionally, starting in early 2025 (specific date to be announced during Q4 2024), all new watch faces published on Google Play must use the Watch Face Format.
Annotations
Interfaces
EditorListener |
Observes state changes in |
EditorServiceClient |
Client for the watchface editor service, which observes |
HeadlessWatchFaceClient |
Controls a stateless remote headless watch face. |
HeadlessWatchFaceClient.ClientDisconnectListener |
Callback that observes when the client disconnects. |
InteractiveWatchFaceClient |
Controls a stateful remote interactive watch face. |
InteractiveWatchFaceClient.ClientDisconnectListener |
Callback that observes when the client disconnects. |
InteractiveWatchFaceClient.OnWatchFaceReadyListener |
Interface passed to |
RemoteWatchFaceViewHost |
Intended for use by watch face editors, a RemoteWatchFaceViewHost allows the watch face to send a |
WatchFaceControlClient |
Connects to a watch face's WatchFaceControlService which allows the user to control the watch face. |
WatchFaceMetadataClient |
Interface for fetching watch face metadata. |
Classes
ComplicationSlotMetadata |
Static metadata for a |
ComplicationSlotState |
A snapshot of the state of a watch face |
DefaultComplicationDataSourcePolicyAndType |
This class is deprecated. Use the WatchFaceMetadataClient instead. |
DeviceConfig |
Describes the hardware configuration of the device the watch face is running on. |
EditorState |
The state of the editing session. |
ListenableWatchFaceControlClient |
|
ListenableWatchFaceMetadataClient |
|
OverlayStyle |
This class is deprecated. OverlayStyle will be removed in a future release. |
WatchFaceId |
The system is responsible for the management and generation of these ids. |
WatchUiState |
Describes the system state of the watch face ui. |
DisconnectReasons |
Disconnect reasons for |
WatchFaceMetadataClient.Companion |
Exceptions
WatchFaceControlClient.ServiceNotBoundException |
Exception thrown by |
WatchFaceControlClient.ServiceStartFailureException |
Exception thrown by |
WatchFaceMetadataClient.ServiceNotBoundException |
Exception thrown by |
WatchFaceMetadataClient.ServiceStartFailureException |
Exception thrown by |