androidx.wear.watchface.complications.datasource
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.
Interfaces
ComplicationDataSourceService.ComplicationRequestListener |
Callback for |
ComplicationDataSourceUpdateRequester |
Allows complication complication data source to request update calls from the system. |
Classes
ComplicationDataSourceService |
Class for sources of complication data. |
ComplicationDataTimeline |
A collection of TimelineEntry items. |
ComplicationRequest |
Data associated with complication request in |
SuspendingComplicationDataSourceService |
Kotlin coroutine wrapper for |
SuspendingTimelineComplicationDataSourceService |
Kotlin coroutine wrapper for |
TimeInterval |
A time interval, typically used to describe the validity period of a |
TimelineEntry |
One piece of renderable content along with the time that it is valid for. |
TargetWatchFaceSafety |
Defines constants that describe whether or not the watch face the complication is being requested for is deemed to be safe. |