PhotoImageComplicationData

public final class PhotoImageComplicationData extends ComplicationData


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.

The image is expected to always be displayed. The image may be shown as the background, any other part of the watch face or within a complication. The image is large enough to be cover the entire screen. The image may be cropped to fit the watch face or complication.

The contentDescription field and is used to describe what data the icon represents. If the icon is purely stylistic, and does not convey any information to the user, then provide an empty content description. If no content description is provided, a generic content description will be used instead.

Summary

Public methods

boolean
equals(Object other)
int
@NonNull String

Public fields

contentDescription

public final ComplicationText contentDescription

photoImage

public final @NonNull Icon photoImage

Public methods

equals

public boolean equals(Object other)

hashCode

public int hashCode()

toString

public @NonNull String toString()