Options
Menu

Interface IModelServiceEvents

The complete list of events that could be emitted by the ModelService.

Hierarchy

  • IModelServiceEvents

Index

Events

OFFLINE_MODELS_DOWNLOAD_COMPLETED

OFFLINE_MODELS_DOWNLOAD_COMPLETED: "offline_models_download_completed"

Emitted when all models have been downloaded after a subscription change that required additional models to be downloaded.

The event emitted will be an [[OfflineModelsDownloadCompletedEvent]]

OFFLINE_MODELS_DOWNLOAD_PENDING

OFFLINE_MODELS_DOWNLOAD_PENDING: "offline_models_download_pending"

Emitted whenever a change to the set of subscribed models results in new models needing to be downloaded.

The event emitted will be an [[OfflineModelsDownloadPendingEvent]].

OFFLINE_MODELS_DOWNLOAD_PROGRESS

OFFLINE_MODELS_DOWNLOAD_PROGRESS: "offline_models_download_progress"

Emitted when the number of models to download changes either because of a successful download or a change to the subscription.

The event emitted will be an [[OfflineModelsDownloadProgressEvent]]

OFFLINE_MODELS_SYNC_ABORTED

OFFLINE_MODELS_SYNC_ABORTED: "offline_models_sync_aborted"

Emitted when the offline model synchronization process aborts.

The event emitted will be an OfflineModelsSyncAbortedEvent

OFFLINE_MODELS_SYNC_COMPLETED

OFFLINE_MODELS_SYNC_COMPLETED: "offline_models_sync_completed"

Emitted when all local offline changes have been synchronized with the. server.

The event emitted will be an OfflineModelsSyncCompletedEvent

OFFLINE_MODELS_SYNC_PROGRESS

OFFLINE_MODELS_SYNC_PROGRESS: "offline_models_sync_progress"

Emitted when the number of outstanding models to synchronize has changed.

The event emitted will be an OfflineModelsSyncProgressEvent

OFFLINE_MODELS_SYNC_STARTED

OFFLINE_MODELS_SYNC_STARTED: "offline_models_sync_started"

Emitted when local offline changes to models are being synchronized with the server.

The event emitted will be an OfflineModelsSyncStartedEvent.

OFFLINE_MODEL_DELETED

OFFLINE_MODEL_DELETED: "offline_model_deleted"

Emitted when an already downloaded offline model is deleted.

The event emitted will be an OfflineModelDeletedEvent.

OFFLINE_MODEL_PERMISSIONS_REVOKED

OFFLINE_MODEL_PERMISSIONS_REVOKED: "offline_model_permissions_revoked"

Emitted when an already downloaded offline model's permissions are updated and the local user no longer has read permissions.

The event emitted will be an OfflineModelPermissionsRevokedEvent.

OFFLINE_MODEL_STATUS_CHANGED

OFFLINE_MODEL_STATUS_CHANGED: "offline_model_status_changed"

Emitted when a model is initially downloaded after it was first subscribed to offline.

The event emitted will be an OfflineModelStatusChangedEvent

OFFLINE_MODEL_SYNC_COMPLETED

OFFLINE_MODEL_SYNC_COMPLETED: "offline_model_sync_completed"

Emitted when all local offline changes have been synchronized with the. server.

The event emitted will be an OfflineModelSyncCompletedEvent

OFFLINE_MODEL_SYNC_ERROR

OFFLINE_MODEL_SYNC_ERROR: "offline_model_sync_error"

Emitted a particular model encounters an error during the resync process.

The event emitted will be an OfflineModelSyncErrorEvent

OFFLINE_MODEL_SYNC_STARTED

OFFLINE_MODEL_SYNC_STARTED: "offline_model_sync_started"

Emitted local offline changes to models are being synchronized with the server.

The event emitted will be an OfflineModelSyncStartedEvent.

OFFLINE_MODEL_UPDATED

OFFLINE_MODEL_UPDATED: "offline_model_updated"

Emitted whenever a model that is subscribed to offline is updated via the periodic background synchronization process.

The event emitted will be an OfflineModelUpdatedEvent