LongTextComplicationData

public final class LongTextComplicationData extends ComplicationData


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

Public methods

boolean
equals(Object other)
int
@NonNull String

Public fields

contentDescription

public final ComplicationText contentDescription

monochromaticImage

public final MonochromaticImage monochromaticImage

smallImage

public final SmallImage smallImage

text

public final @NonNull ComplicationText text

title

public final ComplicationText title

Public methods

equals

public boolean equals(Object other)

hashCode

public int hashCode()

toString

public @NonNull String toString()