Google is committed to advancing racial equity for Black communities. See how.

NotConfiguredComplicationData

class NotConfiguredComplicationData : ComplicationData
kotlin.Any
   ↳ androidx.wear.complications.data.ComplicationData
   ↳ androidx.wear.complications.data.NotConfiguredComplicationData

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

Summary

Public constructors

Type sent when a complication does not have a provider configured.

Public methods
WireComplicationData

Converts this value to WireComplicationData object used for serialization.

Inherited functions
Companion properties
ComplicationType

The ComplicationType corresponding to objects of this type.

Inherited properties

Public constructors

<init>

NotConfiguredComplicationData()

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

Public methods

asWireComplicationData

fun asWireComplicationData(): WireComplicationData

Converts this value to WireComplicationData object used for serialization.

This is only needed internally to convert to the underlying communication protocol.

Companion properties

TYPE

val TYPE: ComplicationType

The ComplicationType corresponding to objects of this type.