androidx.wear.watchface.client

Annotations

Interfaces

EditorListener

Observes state changes in androidx.wear.watchface.editor.EditorSession.

EditorServiceClient

Client for the watchface editor service, which observes androidx.wear.watchface.editor.EditorSession.

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.

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 androidx.wear.watchface.ComplicationSlot.

ComplicationSlotState

State of the ComplicationSlot.

DefaultComplicationDataSourcePolicyAndType

A pair of DefaultComplicationDataSourcePolicy and ComplicationType describing the default state of a androidx.wear.watchface.ComplicationSlot.

DeviceConfig

Describes the hardware configuration of the device the watch face is running on.

EditorState

The state of the editing session.

ListenableWatchFaceControlClient

ListenableFuture-based compatibility wrapper around WatchFaceControlClient's suspending methods.

ListenableWatchFaceMetadataClient

ListenableFuture-based compatibility wrapper around WatchFaceMetadataClient.createWatchFaceMetadataClient.

WatchFaceId

The system is responsible for the management and generation of these ids and they have no context outside of an instance of an EditorState and should not be stored or saved for later use by the WatchFace provider.

WatchUiState

Describes the system state of the watch face ui.

Exceptions

WatchFaceControlClient.ServiceNotBoundException

Exception thrown by createWatchFaceControlClient if the remote service can't be bound.

WatchFaceControlClient.ServiceStartFailureException

Exception thrown by WatchFaceControlClient methods if the service dies during start up.

WatchFaceMetadataClient.ServiceNotBoundException

Exception thrown by createWatchFaceControlClient if the remote service can't be bound.

WatchFaceMetadataClient.ServiceStartFailureException

Exception thrown by WatchFaceControlClient methods if the service dies during start up.