Google is committed to advancing racial equity for Black communities. See how.

LongTextComplicationData

class LongTextComplicationData : ComplicationData
kotlin.Any
   ↳ androidx.wear.complications.data.ComplicationData
   ↳ androidx.wear.complications.data.LongTextComplicationData

Type used for complications where the primary piece of data is a piece of text. The text may be accompanied by an icon and/or a title.

The text is expected to always be displayed.

The title, if provided, it is expected that this field will be displayed.

If at least one of the icon and image is provided, one of these should be displayed.

Summary

Nested classes

Builder for LongTextComplicationData.

Public methods
WireComplicationData

Inherited functions
Properties
MonochromaticImage?

SmallImage?

ComplicationText

ComplicationText?

Companion properties
ComplicationType

The ComplicationType corresponding to objects of this type.

Inherited properties

Public methods

asWireComplicationData

fun asWireComplicationData(): WireComplicationData

Properties

monochromaticImage

val monochromaticImage: MonochromaticImage?

smallImage

val smallImage: SmallImage?

text

val text: ComplicationText

title

val title: ComplicationText?

Companion properties

TYPE

val TYPE: ComplicationType

The ComplicationType corresponding to objects of this type.