androidx.wear.watchface
Interfaces
CanvasComplication |
Interface for rendering complications onto a Canvas. |
TapCallback |
Interface used to report user taps on the complication. |
Observer |
A simple callback that can receive from ObservableWatchData. |
SystemTimeProvider |
Interface for getting the current system time. |
TapListener |
Listens for taps on the watchface which didn't land on Complications. |
WatchFaceHostApi |
The API WatchFaceImpl uses to communicate with the system. |
Classes
CanvasComplicationDrawable |
A complication rendered with ComplicationDrawable which renders complications in a material design style. |
Complication |
Represents a individual complication on the screen. |
ComplicationOutlineRenderer |
Helper for rendering a thick outline around a complication. |
ComplicationsManager |
The Complications associated with the WatchFace. |
GlesTextureComplication |
Helper for rendering a CanvasComplication to a GLES20 texture. |
MutableObservableWatchData |
ObservableWatchData which publicly exposes setValueT method. |
MutableWatchState | |
ObservableWatchData |
An observable UI thread only data holder class (see Observer). |
Renderer |
The base class for CanvasRenderer and GlesRenderer. |
RenderParameters |
Used to parameterize watch face rendering. |
WatchFace |
The return value of WatchFaceService.createWatchFace which brings together rendering, styling, complications and state observers. |
WatchFaceService |
WatchFaceService and WatchFace are a pair of classes intended to handle much of the boilerplate needed to implement a watch face without being too opinionated. |
WatchState |
Describes the current state of the wearable including some hardware details such as whether or not it supports burn in prevention and low-bit ambient. |
Annotations
CanvasType |
Describes the type of Canvas a CanvasRenderer should request from a SurfaceHolder. |
TapType | |
WatchFaceType |
The type of watch face, whether it's digital or analog. |
Enums
DrawMode | |
LayerMode |
Used to parameterize per layer drawing. |