PlatformEventSources.Keys


public static class PlatformEventSources.Keys


Data sources keys for platform event.

Summary

Public fields

static @NonNull PlatformEventSources.Keys
static final @NonNull PlatformDataKey<@NonNull PlatformEventSources.DynamicLayoutUpdateStatus>

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

static final @NonNull PlatformDataKey<@NonNull DynamicBuilders.DynamicBool>

The data source key for visibility status from platform sources.

Public fields

INSTANCE

Added in 1.3.0
public static @NonNull PlatformEventSources.Keys INSTANCE

LAYOUT_UPDATE_STATUS

Added in 1.4.0-alpha01
public static final @NonNull PlatformDataKey<@NonNull PlatformEventSources.DynamicLayoutUpdateStatusLAYOUT_UPDATE_STATUS

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
public static final @NonNull PlatformDataKey<@NonNull DynamicBuilders.DynamicBoolLAYOUT_VISIBILITY

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