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

IdAndComplicationData

class IdAndComplicationData
kotlin.Any
   ↳ androidx.wear.complications.data.IdAndComplicationData

A pair of id and ComplicationData.

Summary

Public constructors
<init>(complicationId: Int, complicationData: WireComplicationData)

Convenience constructor which accepts a WireComplicationData.

<init>(complicationId: Int, complicationData: ComplicationData)

A pair of id and ComplicationData.

Properties
ComplicationData

Int

Public constructors

<init>

IdAndComplicationData(
    complicationId: Int,
    complicationData: WireComplicationData)

Convenience constructor which accepts a WireComplicationData.

<init>

IdAndComplicationData(
    complicationId: Int,
    complicationData: ComplicationData)

A pair of id and ComplicationData.

Properties

complicationData

val complicationData: ComplicationData

complicationId

val complicationId: Int