NotConfiguredComplicationData


class NotConfiguredComplicationData : 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 companion properties

ComplicationType

The ComplicationType corresponding to objects of this type.

Public constructors

Public functions

open String

Inherited functions

From androidx.wear.watchface.complications.data.ComplicationData
open operator Boolean
equals(other: Any?)
open Instant

Returns the next Instant after afterInstant at which any field of the complication may change.

open Boolean

Returns true if any of the fields of this ComplicationData are placeholders.

open Int

Inherited properties

From androidx.wear.watchface.complications.data.ComplicationData
ComponentName?

The ComponentName of the androidx.wear.watchface.complications.datasource.ComplicationDataSourceService that provided the ComplicationData.

Int

The display policy for this complication.

ComplicationData?

Used in case any dynamic value has been invalidated.

Int

The persistence policy for this complication.

PendingIntent?

The PendingIntent to send when the complication is tapped on.

Boolean

tapAction which is a PendingIntent unfortunately can't be serialized.

ComplicationType

The ComplicationType of this complication data.

TimeRange

The TimeRange within which the complication should be displayed.

Public companion properties

TYPE

val TYPEComplicationType

The ComplicationType corresponding to objects of this type.

Public constructors

NotConfiguredComplicationData

Added in 1.0.0
NotConfiguredComplicationData()

Public functions

toString

open fun toString(): String