androidx.wear.watchface.client


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.

InteractiveWatchFaceClient.OnWatchFaceReadyListener

Interface passed to addOnWatchFaceReadyListener which calls OnWatchFaceReadyListener.onWatchFaceReady when the watch face is ready to render.

RemoteWatchFaceViewHost

Intended for use by watch face editors, a RemoteWatchFaceViewHost allows the watch face to send a SurfaceControlViewHost.SurfacePackage to the client, which the client can attach to a SurfaceView with SurfaceView.setChildSurfacePackage.

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

A snapshot of the state of a watch face ComplicationSlot.

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

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

ListenableWatchFaceMetadataClient

ListenableFuture-based compatibility wrapper around WatchFaceMetadataClient.create.

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.

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.

Objects

Annotations