object PlatformEventSources


Dynamic types for platform events

Summary

Nested types

Data sources keys for platform event.

Public functions

DynamicBuilders.DynamicBool

Creates a DynamicBool which receives the current state of any pending updates for the current layout.

DynamicBuilders.DynamicBool
@RequiresSchemaVersion(major = 1, minor = 500)
isLayoutVisible()

Creates a DynamicBool which receives the current visibility status from platform.

Public functions

isLayoutUpdatePending

Added in 1.3.0-alpha10
@ProtoLayoutExperimental
@RequiresSchemaVersion(major = 1, minor = 600)
fun isLayoutUpdatePending(): DynamicBuilders.DynamicBool

Creates a DynamicBool which receives the current state of any pending updates for the current layout.

The layout update pending status is true from when a new layout is requested until it is received and inflated or the request fails. In all other cases, it is false.

isLayoutVisible

Added in 1.3.0-alpha10
@RequiresSchemaVersion(major = 1, minor = 500)
fun isLayoutVisible(): DynamicBuilders.DynamicBool

Creates a DynamicBool which receives the current visibility status from platform.

The visibility status value is true when layout is visible, and false when invisible.