Note: As of July 10, 2024, watch faces must use the Watch Face Format in order to be installed on new watches that launch with Wear OS 5 pre-installed. Learn more about the user-facing changes in this Help Center article.

Additionally, starting in early 2025 (specific date to be announced during Q4 2024), all new watch faces published on Google Play must use the Watch Face Format.

class TimelineEntry


One piece of renderable content along with the time that it is valid for.

Summary

Public constructors

TimelineEntry(validity: TimeInterval, complicationData: ComplicationData)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

ComplicationData

The renderable ComplicationData.

TimeInterval

TimeInterval describing the validity period for this timeline entry.

Public constructors

TimelineEntry

Added in 1.1.0
TimelineEntry(validity: TimeInterval, complicationData: ComplicationData)
Parameters
validity: TimeInterval

TimeInterval describing the validity period for this timeline entry.

complicationData: ComplicationData

The renderable ComplicationData.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

complicationData

Added in 1.1.0
var complicationDataComplicationData

The renderable ComplicationData.

validity

Added in 1.1.0
var validityTimeInterval

TimeInterval describing the validity period for this timeline entry.