DefaultComplicationDataSourcePolicyAndType


class DefaultComplicationDataSourcePolicyAndType


A pair of DefaultComplicationDataSourcePolicy and ComplicationType describing the default state of a androidx.wear.watchface.ComplicationSlot.

Summary

Public constructors

This function is deprecated. Use the WatchFaceMetadataClient instead.

Public functions

open operator Boolean
equals(other: Any?)

This function is deprecated. Use the WatchFaceMetadataClient instead.

open Int

This function is deprecated. Use the WatchFaceMetadataClient instead.

Public properties

DefaultComplicationDataSourcePolicy

This property is deprecated. Use the WatchFaceMetadataClient instead.

ComplicationType

This property is deprecated. Use the WatchFaceMetadataClient instead.

Public constructors

DefaultComplicationDataSourcePolicyAndType

Added in 1.0.0
Deprecated in 1.1.0
DefaultComplicationDataSourcePolicyAndType(
    policy: DefaultComplicationDataSourcePolicy,
    type: ComplicationType
)

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

policy

Added in 1.0.0
Deprecated in 1.1.0
val policyDefaultComplicationDataSourcePolicy

The DefaultComplicationDataSourcePolicy for the androidx.wear.watchface.ComplicationSlot.

type

Added in 1.0.0
Deprecated in 1.1.0
val typeComplicationType

The default ComplicationType for the androidx.wear.watchface.ComplicationSlot.