androidx.wear.complications.data

Interfaces

ComplicationText

The text within a complication.

Classes

ComplicationData

Base type for all different types of ComplicationData types.

CountDownTimeReference

Defines a point in time the complication is counting down until.

CountUpTimeReference

Defines a point in time the complication is counting up from.

EmptyComplicationData

Type sent when the user has specified that an active complication should have no complication data source, i.e.

LongTextComplicationData

Type used for complications where the primary piece of data is a piece of text.

LongTextComplicationData.Builder

Builder for LongTextComplicationData.

MonochromaticImage

A simple, monochromatic image that can be tinted by the watch face.

MonochromaticImage.Builder

Builder for MonochromaticImage.

MonochromaticImageComplicationData

Type used for complications which consist only of a MonochromaticImage.

MonochromaticImageComplicationData.Builder

Builder for MonochromaticImageComplicationData.

NoDataComplicationData

Type that can be sent by any complication data source, regardless of the configured type, when the complication data source has no data to be displayed.

NoPermissionComplicationData

Type sent by the system when the watch face does not have permission to receive complication data.

NoPermissionComplicationData.Builder

Builder for NoPermissionComplicationData.

NotConfiguredComplicationData

Type sent when a complication does not have a complication data source configured.

PhotoImageComplicationData

Type used for complications which consist only of an image that is expected to fill a large part of the watch face, large enough to be shown as either a background or as part of a high resolution complication.

PhotoImageComplicationData.Builder

Builder for PhotoImageComplicationData.

PlainComplicationText

A ComplicationText that contains plain text.

PlainComplicationText.Builder

A builder for PlainComplicationText.

RangedValueComplicationData

Type used for complications including a numerical value within a range, such as a percentage.

RangedValueComplicationData.Builder

Builder for RangedValueComplicationData.

ShortTextComplicationData

Type used for complications where the primary piece of data is a short piece of text (expected to be no more than seven characters in length).

ShortTextComplicationData.Builder

Builder for ShortTextComplicationData.

SmallImage

An image that is expected to cover a small fraction of a watch face occupied by a single complication.

SmallImage.Builder

Builder for MonochromaticImage.

SmallImageComplicationData

Type used for complications which consist only of a SmallImage.

SmallImageComplicationData.Builder

Builder for SmallImageComplicationData.

TimeDifferenceComplicationText

A ComplicationText that represents a time difference.

TimeDifferenceComplicationText.Builder

Builder for ComplicationText representing a time difference.

TimeFormatComplicationText

A ComplicationText that shows a formatted time.

TimeFormatComplicationText.Builder

A builder for TimeFormatComplicationText.

TimeRange

A range of time, that may be unbounded on either side.

Enums

ComplicationType

The possible complication data types.

SmallImageType

The type of image being provided.

TimeDifferenceStyle

The styling used for showing a time different by ComplicationText#TimeDifferenceBuilder.

TimeFormatStyle

The format in which the time should be displayed.