Package-level declarations
Types
Ditto is the entrypoint for accessing Ditto-related functionality in the Android SDK.
An acceptor returned from binding a topic.
An address uniquely representing another device on the Ditto network.
Represents an attachment and can be used to insert the associated attachment into a document at a specific key.
Manages an in-progress attachment fetch operation.
The different results that can occur in relation to an attachment fetch.
Serves as a token for a specific attachment that you can pass to a call to fetchAttachment on the DittoStore.
Represents a string-based authentication provider identifier used for login with Ditto.
Represents the current authentication status of a Ditto instance.
Manages authentication with Ditto Server.
A configuration object for initializing a Ditto instance.
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.
The core of the Ditto Data Streams API, allowing topics to be bound and connections to be made.
Calculates diffs between lists of DittoQueryResultItem.
Entrypoint for accessing information about the amount of disk storage used by Ditto. This class can't be instantiated. You can access an instance through the ditto.diskUsage API.
A directory or file in the Ditto working directory. Directories can be traversed by accessing the children property. Files won't have any children.
All errors that are thrown by the Ditto SDK are wrapped as a DittoException. This type wraps multiple different types of error that each have an associated reason.
Provides access to experimental Ditto SDK features for testing purposes.
The file system entry type for a DittoDiskUsageItem.
Inbound data from a stream.
A callback interface for receiving Ditto SDK log events.
Singleton object with static methods to customize the logging behavior from Ditto.
Severity levels for Ditto SDK log messages.
Operating system type of a peer in the Ditto mesh.
Manages peer discovery and network topology information.
Represents the Ditto mesh network of peers and their connections between each other. The localPeer is the entrypoint, all others are remote peers known by the local peer (either directly or via other remote peers).
Represents results returned when executing a DQL query containing a DittoQueryResultItem for each match.
A single item in a DittoQueryResult, representing one document that matched a DQL query.
Reliability level for a DittoStream.
A resource managed by the Ditto SDK that must be explicitly released when no longer needed.
The delivery status of a message sent via DittoStream.send.
Manages diagnostic information collection for small peers.
Provides access to execute Ditto queries.
A store observer invokes an observation handler whenever results for its query change.
A stream for bidirectional communication.
A candidate for opening a stream.
The status of a DittoStream, indicating whether it is open or how it was closed.
A sync subscription configures Ditto to receive updates from remote peers about documents matching the subscription's query.
Represents a transaction in the Ditto store.
Represents an action that completes a transaction by either committing it or rolling it back.
Encapsulates information about a transaction.
The health condition of a Ditto transport subsystem.
An event describing a change in the health of a transport subsystem.
A type hint to show whether or not a DittoStreamCandidate can send arguments when opened.
Opt-in annotation for the Data Streams preview API.
Functions
Opens the stream as write-only, ignoring all messages that may be received on the returned DittoStream.
Opens the stream, calling the provided callback whenever a message is received.