PlatformEventSources.Keys


object PlatformEventSources.Keys


Data sources keys for platform event.

Summary

Public properties

PlatformDataKey<DynamicBuilders.DynamicBool>

The data source key for ambient mode status from platform sources.

PlatformDataKey<PlatformEventSources.DynamicLayoutUpdateStatus>

The data source key for layout update status from platform sources.

PlatformDataKey<DynamicBuilders.DynamicBool>

The data source key for visibility status from platform sources.

Public properties

AMBIENT_MODE_STATUS

Added in 1.4.0-alpha02
val AMBIENT_MODE_STATUSPlatformDataKey<DynamicBuilders.DynamicBool>

The data source key for ambient mode status from platform sources.

The ambient status value is true if the device is in ambient mode and false otherwise.

LAYOUT_UPDATE_STATUS

Added in 1.4.0-alpha02
val LAYOUT_UPDATE_STATUSPlatformDataKey<PlatformEventSources.DynamicLayoutUpdateStatus>

The data source key for layout update status from platform sources.

The platform requests a new layout when explicitly requested by the tile provider, or when the current layout becomes invalidated.

The layout update status can be one of the following:

LAYOUT_VISIBILITY

Added in 1.3.0
val LAYOUT_VISIBILITYPlatformDataKey<DynamicBuilders.DynamicBool>

The data source key for visibility status from platform sources. The visibility status value is true when layout is visible, and false when invisible.