Package live.ditto
See: Description
-
Object Summary Object Description Companion FailedToAuthenticate Failed to authenticate with remote server. SendBeforeCompletion Sent a bus message with the same destination/reliability before the previous send completed. SendFailed Failed to send bus message. OpenStreamFailed Failed to open a stream to the requested peer. StreamClosedByRemote The remote peer closed this DittoBusStream. StreamClosedByLocal The local peer closed this DittoBusStream. StreamFailed This DittoBusStream closed due to a communication failure. ReliablePayloadTooLarge Bus message cannot be sent as the payload is too large (max 1 MB) UnreliablePayloadTooLarge Bus message cannot be sent as the payload is too large (max 128 kB) QueueFull Bus message cannot be sent as the queue is full. DocumentNotFound The document could not be found. NoIdPresentInDocument The document did not have an _idkey when attempting to decode it.QueryArgumentsInvalid The provided query arguments were invalid DepthLimitExceeded If the amount of JSON data is too nested according to our self-imposed limits, or if the data cannot be parsed to determine the depth. InternalSubsystemUnavailable The observability subsystem is unavailable. NotAMap The value provided was not a Map. SizeLimitExceeded The size of the provided metadata is too large. Companion DittoLog Main singleton (global instance) to use / call into ditto_logand thus our logging API.DittoLogger Main singleton (global instance) to tweak the behavior of Ditto's logging infrastructure. -
Class Summary Class Description ActivationError AuthenticationError BusError FatalError Represents a fatal error that the Ditto instance cannot recover from. FilesystemError An error occurred accessing the filesystem. InternalError Errors related to internal ditto core native communication. LockedWorkingDirectoryError Outstanding usage of ditto's working directory detected when trying to instantiate a new Ditto, which would have led to concurrent usage of the backing database files. PresenceError Errors transforming Ditto mesh presence data to or from JSON encoding. StoreError TransportError UnknownError Some not-yet-categorized error occurred. ValidationError NotActivatedError The Ditto instance has not yet been activated, which is achieved via a successful call to Ditto. LicenseTokenExpired The provided license token has expired. LicenseTokenVerificationFailed Verification of the provided license token failed. LicenseTokenUnsupportedFutureVersion The provided license token is in an unsupported future format. ActivationErrorReason The possible underlying reasons an ActivationError occurs. AuthenticationErrorReason The possible underlying reasons an AuthenticationError error occurs. BusErrorReason The possible underlying reasons a BusError error occurs. NativeReferenceMissing A Ditto Core (FFI) native reference was NULL. WeakReferenceCleared A WeakReferenceto the Ditto instance has been "cleared" by the garbage collector.InternalErrorReason The possible underlying reasons a InternalError error occurs. FailedToDecodeJson Parsing presence JSON failed. JsonParsingError Parsing presence JSON failed. PresenceErrorReason The possible underlying reasons a PresenceError occurs. AttachmentFilePermissionDenied The attachment could not be found. AttachmentFileNotFound The given attachment file could not be found. AttachmentNotFound The attachment could not be found. AttachmentTokenInvalid The attachment token was invalid. FailedToCreateAttachment A problem occurred creating the attachment. FailedToFetchAttachment A problem occurred fetching the attachment. AttachmentCopyTargetAlreadyExists The target file for the attachment copy already exists. BackendError An error occurred with the storage backend (LMDB). FailedToCopyAttachment The attachment copy failed. FailedToDecodeCounter A Counter couldn't be created from the decoded Map. FailedToDecodeDocument The document could not be decoded. FailedToDecodeValue The value could not be decoded. FailedToEncodeValue The provided value could not be encoded. FailedToInitializeDittoDirectory The directory that Ditto attempted to use for its persisted data could not be initialized. InvalidCrdtType An invalid CRDT type was encountered. InvalidLiveQueryId The live query has not obtained a valid identifier. InvalidValueForCrdt An invalid value was encountered for a corresponding CRDT type. QueryCompilationFailed Compilation of the provided query failed. QueryError The query was invalid. QueryInvalid The query is invalid. QueryNotSupported The query is syntactically valid but uses features that are either not supported at all yet or not supported in a particular context. StoreErrorReason The possible underlying reasons a StoreError occurs. FailedToDecodeTransportDiagnostics Decoding of transport diagnostics data failed. IncorrectPlatformTransportConfig The wrong platform's DittoTransportConfig was provided. TransportErrorReason The possible underlying reasons a TransportError error occurs. Base64Invalid Invalid base64-encoded string: InvalidCbor Expected valid CBOR. InvalidJson Expected valid JSON. MissingKey The given Map was missing a required entry for the given key name. NotJsonCompatible The object is or contain(s) types that aren't JSON compatible. UnknownSyncScope The provided DittoSmallPeerInfoSyncScope_tvalue didn't correspond with any known enum cases.ValidationErrorReason Errors interacting with DittoSmallPeerInfo. DittoError All errors that are thrown by the Ditto SDK are wrapped as a DittoError. -
Interface Summary Interface Description DittoLogDecorator This is an interface allowing to shim / wrap a call to ditto_logfrom thedittoffi.DittoLogCallback Typically this will only be used if interacting with the SDK from Java. -
Enum Summary Enum Description DittoLogLevel