Enumeration DocEventType

DocEventType represents the type of the event that occurs in Document.

Enumeration Members

Broadcast: "broadcast"

Broadcast means that the broadcast event is received from the remote client.

ConnectionChanged: "connection-changed"

ConnectionChanged means that the watch stream connection status has changed.

Initialized: "initialized"

Initialized means that online clients have been loaded from the server.

LocalBroadcast: "local-broadcast"

LocalBroadcast means that the broadcast event is sent from the local client.

LocalChange: "local-change"

local document change event type

PresenceChanged: "presence-changed"

PresenceChanged means that the presences of the client has updated.

RemoteChange: "remote-change"

remote document change event type

Snapshot: "snapshot"

snapshot event type

StatusChanged: "status-changed"

status changed event type

SyncStatusChanged: "sync-status-changed"

SyncStatusChanged means that the document sync status has changed.

Unwatched: "unwatched"

Unwatched means that the connection has been disconnected.

Watched: "watched"

Watched means that the client has established a connection with the server, enabling real-time synchronization.