androidx.wear.watchface.complications.datasource

Interfaces

ComplicationDataSourceService.ComplicationRequestListener

Callback for onComplicationRequest where only one of onComplicationData or onComplicationDataTimeline should be called.

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 ComplicationDataSourceService.onComplicationRequest.

SuspendingComplicationDataSourceService

Kotlin coroutine wrapper for ComplicationDataSourceService producing ComplicationData.

SuspendingTimelineComplicationDataSourceService

Kotlin coroutine wrapper for ComplicationDataSourceService producing ComplicationDataTimeline.

TimeInterval

A time interval, typically used to describe the validity period of a TimelineEntry.

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.