NotConfiguredComplicationData

public final class NotConfiguredComplicationData extends ComplicationData


Type sent when a complication does not have a complication data source configured. The system will send data of this type to watch faces when the user has not chosen a complication data source for an active complication, and the watch face has not set a default complication data source. Complication data sources cannot send data of this type.

Summary

Public fields

final @Nullable PendingIntent
final @NonNull ComplicationType
final @NonNull TimeRange

Describes when the complication should be displayed.

Public constructors

Public fields

tapAction

@Nullable
public final @Nullable PendingIntent tapAction

type

@NonNull
public final @NonNull ComplicationType type

validTimeRange

@NonNull
public final @NonNull TimeRange validTimeRange

Describes when the complication should be displayed.

Whether the complication is active and should be displayed at the given time should be checked with TimeRange.contains.

Public constructors

NotConfiguredComplicationData

public final NotConfiguredComplicationData()