All Classes and Interfaces

Class
Description
Ditto is the entrypoint for accessing Ditto-related functionality in the Java SDK.
Functional interface for updating transport configuration.
An address uniquely representing another device on the Ditto network.
How often to transmit Bluetooth LE advertisements.
How much power to use when transmitting Bluetooth LE advertisements.
Represents an asynchronous operation that can be cancelled.
Represents an attachment and can be used to insert the associated attachment into a document at a specific key.
Manages the fetching of an attachment from remote peers.
Callback interface for monitoring attachment fetch progress.
The result of fetching an attachment.
Event signaling the completion of an attachment download.
Event signaling the deletion of an attachment.
Represents a reference token for a specific attachment in the Ditto store.
Provides feedback to the developer about Ditto authentication status.
Represents a string-based authentication provider identifier used for login with Ditto.
Provides information about the current authentication status.
Handles authentication with Ditto Cloud for remote synchronization.
Handler for authentication expiration events.
Callback invoked when a login operation completes.
Callback invoked when a login operation completes with client info.
Result of a login operation.
Function to perform cleanup operations during logout.
Listener for authentication status changes.
Configuration for Bluetooth Low Energy peer-to-peer transport.
Builder for constructing a DittoBluetoothLeConfig.
Represents a value that can be serialized to CBOR format.
Represents a CBOR array value.
Builder for constructing CBOR arrays.
Represents a CBOR boolean value.
Represents a CBOR byte string value.
Represents a CBOR dictionary (map) value.
Builder for constructing CBOR dictionaries.
Represents a CBOR double value.
Represents a CBOR float value.
Represents a CBOR negative integer value.
Represents a CBOR null value.
Represents a CBOR tagged value.
Represents a CBOR unsigned integer value.
Represents a CBOR UTF-8 string value.
A store observation listener is called whenever an active store observer receives a new query result.
A store observation listener is called whenever an active store observer receives a new query result.
Represents the source or transport type for a connection condition.
Configuration for creating a Ditto instance.
Builder for creating DittoConfig instances.
Functional interface for configuring experimental features.
Defines how Ditto should connect to other peers.
Configuration for connecting through a Ditto Big Peer server.
Configuration for peer-to-peer connections without a server.
Experimental features configuration for Ditto.
Builder for creating DittoConfig.Experimental configurations.
Specific servers that Ditto should attempt to connect to.
Builder for constructing a DittoConnect configuration.
Represents a connection between two peers in a Ditto mesh network.
Contains information about a remote peer that has requested a connection.
Indicates whether a connection request should be authorized.
Represents the type of transport used for a DittoConnection between two DittoPeers.
Provides access to information about disk storage used by Ditto.
Callback interface for receiving disk usage updates.
Represents a directory or file in the Ditto working directory.
All errors that are thrown by the Ditto SDK are wrapped as a DittoException.
Represents an error that occurred during Ditto activation.
The possible underlying reasons an DittoException.ActivationException occurs.
The provided license token has expired.
The provided license token is in an unsupported future format.
Verification of the provided license token failed.
The Ditto instance has not yet been activated, which is achieved via a successful call to Ditto.setOfflineOnlyLicenseToken(String).
Represents an error that occurred during authentication with Ditto Cloud.
The possible underlying reasons an DittoException.AuthenticationException error occurs.
Authentication expiration handler is missing.
Failed to authenticate with a remote server.
Represents a fatal error that the Ditto instance cannot recover from.
Errors related to IO devices.
The possible underlying reasons an DittoException.IoException occurs.
An I/O operation failed because the specified entity (such as a file) already exists.
An I/O operation failed because the specified entity (such as a file) already exists.
An I/O operation failed.
An I/O operation failed because the necessary privileges to complete it were not present.
Errors transforming Ditto mesh presence data to or from JSON encoding.
The possible underlying reasons a DittoException.PresenceException occurs.
Parsing presence from JSON failed.
Generating presence JSON failed.
Represents an error that occurred during database or storage operations.
The possible underlying reasons a DittoException.StoreException occurs.
The target file for the attachment copy already exists.
The attachment data failed to be retrieved.
The attachment file failed to be copied.
The given attachment file could not be found.
The attachment could not be found.
The attachment could not be found.
The attachment token was invalid.
An error occurred with the storage backend (LMDB).
A generic CRDT error occurred.
The provided document content failed to be encoded.
The document could not be found.
The attachment copy failed.
A problem occurred creating the attachment.
A Counter couldn't be created from the decoded Map.
Data could not be decoded.
The document could not be decoded.
The value could not be decoded.
The provided value could not be encoded.
A problem occurred fetching the attachment.
The document's data at the specified path could not be obtained.
The document ID's data at the specified path could not be obtained.
The directory that Ditto attempted to use for its persisted data could not be initialized.
An invalid CRDT type was encountered.
The document's internal representation was invalid.
The live query has not obtained a valid identifier.
An invalid value was encountered for a corresponding CRDT type.
The document did not have an _id key when attempting to decode it.
The document, represented as a CBOR map, had a key that was not a string.
The chosen persistence directory is already in use by another Ditto instance.
The provided query arguments were invalid
Compilation of the provided query failed.
The query was invalid.
The query is invalid.
The query is syntactically valid but uses features that are either not supported at all yet or not supported in a particular context.
 
Represents an error that occurred in the transport layer.
The possible underlying reasons a DittoException.TransportException error occurs.
Decoding of transport diagnostics data failed.
The wrong platform's DittoTransportConfig was provided.
Some not-yet-categorized error occurred.
Operation is not supported.
Represents a validation error for data or configuration.
The possible underlying reasons a DittoException.ValidationException occurs.
Invalid base64-encoded string:
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.
The observability subsystem is unavailable.
Expected valid CBOR.
The provided DittoConfig is invalid.
Expected valid JSON.
The given Map was missing a required entry for the given key name.
The value provided was not a Map.
The object is or contain(s) types that aren't JSON compatible.
The size of the provided metadata is too large.
The provided DittoSmallPeerInfoSyncScope value didn't correspond with any known enum cases.
Factory class for creating Ditto instances.
Represents the type of file system item in a DittoDiskUsageItem.
Settings not associated with any specific type of transport.
Builder for constructing a DittoGlobalConfig.
Configuration for listening on an HTTP/WebSocket server to accept incoming sync connections.
Builder for constructing a DittoHttpListenConfig.
Represents a value that can be serialized to JSON format.
Represents a JSON array value.
Represents a JSON null value.
Represents a JSON object value.
Represents a JSON primitive value (boolean, number).
Represents a JSON string value.
Configuration for Local Area Network (LAN) peer-to-peer transport.
Builder for constructing a DittoLanConfig.
Configure this device as a Ditto server.
Builder for constructing a DittoListen configuration.
Functional interface for configuring HTTP listen.
Functional interface for configuring TCP listen.
Main access for Ditto logging API.
Callback interface for receiving Ditto log messages.
Provides customization of Ditto's logging output.
Singleton with static methods to customize Ditto's logging behavior.
Enum representing the severity level for log messages.
An instance of Ditto taking part in the mesh network.
Configuration of peer-to-peer transports, which are able to discover and connect to peers on their own.
Builder for constructing a DittoPeerToPeer configuration.
Functional interface for configuring Bluetooth LE transport.
Functional interface for configuring LAN transport.
Functional interface for configuring Wi-Fi Aware transport.
The entrypoint for all actions that relate to presence of other peers known by the current peer, either directly or through other peers.
Handler interface for controlling incoming connection requests.
Listener interface for receiving presence graph updates.
Represents the Ditto mesh network of peers and their connections between each other.
A token representing an active presence graph observation.
Defines the interface for executing DQL queries.
Represents the results returned when executing a DQL (Ditto Query Language) query.
Represents a single match of a DQL query, similar to a "row" in SQL terms.
Interface for Ditto resources that need explicit cleanup.
A functional interface for signaling that the next item should be delivered.
Provides access to execute Ditto queries.
A store observer that monitors query results and invokes a handler when they change.
Provides access to sync-related functionality of Ditto.
A sync subscription configures Ditto to receive updates from remote peers about documents matching the subscription's query.
Configuration for listening on a TCP socket to accept incoming sync connections.
Builder for constructing a DittoTcpListenConfig.
Represents a database transaction for executing multiple DQL queries atomically.
Represents the result of a transaction, indicating whether to commit or rollback.
Represents a successful transaction that should be committed.
Represents a transaction that should be rolled back.
A functional interface for executing operations within a database transaction.
Encapsulates information about a transaction.
Represents the operational condition of a Ditto transport.
Callback interface for monitoring transport condition changes.
A configuration object specifying which network transports Ditto should use to sync data.
Builder for constructing a DittoTransportConfig.
Functional interface for configuring connect transports.
Functional interface for configuring global transport settings.
Functional interface for configuring listen transports.
Functional interface for configuring peer-to-peer transports.
Provides diagnostic information about all active Ditto transports.
Represents a snapshot of a specific transport's current state.
Represents an unsigned 32-bit integer.
Represents an unsigned 64-bit integer.
Configuration for Wi-Fi Aware peer-to-peer transport.
Builder for constructing a DittoWifiAwareConfig.