DefaultComplicationDataSourcePolicyAndType


public final class DefaultComplicationDataSourcePolicyAndType


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

Summary

Public constructors

This method is deprecated. Use the WatchFaceMetadataClient instead.

Public methods

boolean
equals(Object other)

This method is deprecated. Use the WatchFaceMetadataClient instead.

final @NonNull DefaultComplicationDataSourcePolicy

This method is deprecated. Use the WatchFaceMetadataClient instead.

final @NonNull ComplicationType

This method is deprecated. Use the WatchFaceMetadataClient instead.

int

This method is deprecated. Use the WatchFaceMetadataClient instead.

Public constructors

DefaultComplicationDataSourcePolicyAndType

Added in 1.0.0
Deprecated in 1.1.0
public DefaultComplicationDataSourcePolicyAndType(
    @NonNull DefaultComplicationDataSourcePolicy policy,
    @NonNull ComplicationType type
)

Public methods

equals

public boolean equals(Object other)

getPolicy

Added in 1.0.0
Deprecated in 1.1.0
public final @NonNull DefaultComplicationDataSourcePolicy getPolicy()

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

getType

Added in 1.0.0
Deprecated in 1.1.0
public final @NonNull ComplicationType getType()

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

hashCode

public int hashCode()