Options
Menu

Class OfflineModelStatusChangedEvent

Emitted when a RealTimeModel is subscribed to for offline availability and a new version has been downloaded.

experimental

Hierarchy

  • OfflineModelStatusChangedEvent

Implements

Index

Properties

available

available: boolean

If he model is available locally.

id

id: string

The id of the model that was updated.

local

local: boolean

If this model was created locally, and has not yet been pushed to the server.

name

name: string = OfflineModelStatusChangedEvent.NAME

The name of the event that was fired. This is commonly used to filter when using the ConvergenceEventEmitter.events stream.

Note that the name is only guaranteed to be unique within the class / subsystem that is firing it. Names might be reused across classes and subsystems.

subscribed

subscribed: boolean

If the model is currently subscribed to for proactive downloading.

synchronized

synchronized: boolean

If is fully stored on the server.

NAME

NAME: "offline_model_status_changed" = "offline_model_status_changed"