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

### Hierarchy

- ModelServiceEvents

## Index

### Events

- OFFLINE_MODEL_DELETED
- OFFLINE_MODEL_DOWNLOAD_COMPLETED
- OFFLINE_MODEL_DOWNLOAD_PENDING
- OFFLINE_MODEL_PERMISSIONS_REVOKED
- OFFLINE_MODEL_STATUS_CHANGED
- OFFLINE_MODEL_SYNC_ABORTED
- OFFLINE_MODEL_SYNC_COMPLETED
- OFFLINE_MODEL_SYNC_ERROR
- OFFLINE_MODEL_SYNC_STARTED
- OFFLINE_MODEL_UPDATED

## Events

### OFFLINE_MODEL_DELETED

OFFLINE_MODEL_DELETED: "offline_model_deleted"

Emitted when an already downloaded offline model is deleted. The event emitted will be an [[OfflineModelDeleted]].

### OFFLINE_MODEL_DOWNLOAD_COMPLETED

OFFLINE_MODEL_DOWNLOAD_COMPLETED: "offline_model_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 OfflineModelDownloadCompletedEvent

### OFFLINE_MODEL_DOWNLOAD_PENDING

OFFLINE_MODEL_DOWNLOAD_PENDING: "offline_model_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 OfflineModelDownloadPendingEvent.

### 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 [[OfflineModelPermissionsRevoked]].

### 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 [[OfflineModelAvailableEvent]]

### OFFLINE_MODEL_SYNC_ABORTED

OFFLINE_MODEL_SYNC_ABORTED: "offline_model_sync_aborted"

Emitted when the offline model synchronization process aborts. The event emitted will be an OfflineModelSyncAbortedEvent

### 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.

### 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