Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ACCESS_POINT - Enum constant in enum class com.ditto.java.DittoConnectionType
-
Wi-Fi LAN transport
- addTcpServers(String...) - Method in interface com.ditto.java.transports.DittoConnect.Builder
- addTcpServers(Collection<String>) - Method in interface com.ditto.java.transports.DittoConnect.Builder
- addWebsocketUrls(String...) - Method in interface com.ditto.java.transports.DittoConnect.Builder
- addWebsocketUrls(Collection<String>) - Method in interface com.ditto.java.transports.DittoConnect.Builder
- advertisementInterval() - Method in interface com.ditto.java.transports.DittoBluetoothLeConfig.Builder
- advertisementInterval(DittoAdvertisementFrequency) - Method in interface com.ditto.java.transports.DittoBluetoothLeConfig.Builder
- advertisementPower() - Method in interface com.ditto.java.transports.DittoBluetoothLeConfig.Builder
- advertisementPower(DittoAdvertisementPower) - Method in interface com.ditto.java.transports.DittoBluetoothLeConfig.Builder
- ALLOW - Enum constant in enum class com.ditto.java.DittoConnectionRequestAuthorization
-
The connection request will be allowed.
- AppInBackground - Enum constant in enum class com.ditto.java.DittoTransportCondition
- asCompleted() - Method in interface com.ditto.java.DittoAttachmentFetchEvent
- asDeleted() - Method in interface com.ditto.java.DittoAttachmentFetchEvent
- asProgress() - Method in interface com.ditto.java.DittoAttachmentFetchEvent
- AttachmentCopyTargetAlreadyExists(FileAlreadyExistsException) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.AttachmentCopyTargetAlreadyExists
-
Creates an instance of a
AttachmentCopyTargetAlreadyExistsrecord class. - AttachmentDataRetrievalError(Exception) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.AttachmentDataRetrievalError
-
Creates an instance of a
AttachmentDataRetrievalErrorrecord class. - AttachmentFileCopyError(Exception) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.AttachmentFileCopyError
-
Creates an instance of a
AttachmentFileCopyErrorrecord class. - AttachmentFileNotFound(String) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.AttachmentFileNotFound
-
Creates an instance of a
AttachmentFileNotFoundrecord class. - AttachmentFilePermissionDenied(String) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.AttachmentFilePermissionDenied
-
Creates an instance of a
AttachmentFilePermissionDeniedrecord class. - AttachmentNotFound(String) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.AttachmentNotFound
-
Creates an instance of a
AttachmentNotFoundrecord class. - AttachmentTokenInvalid(String) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.AttachmentTokenInvalid
-
Creates an instance of a
AttachmentTokenInvalidrecord class. - Awdl - Enum constant in enum class com.ditto.java.DittoConditionSource
B
- BackendError(String) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.BackendError
-
Creates an instance of a
BackendErrorrecord class. - Base64Invalid(String) - Constructor for record class com.ditto.java.DittoError.ValidationErrorReason.Base64Invalid
-
Creates an instance of a
Base64Invalidrecord class. - BIG_PEER_ONLY - Enum constant in enum class com.ditto.java.DittoSmallPeerInfoSyncScope
- BleDisabled - Enum constant in enum class com.ditto.java.DittoTransportCondition
- Bluetooth - Enum constant in enum class com.ditto.java.DittoConditionSource
- BLUETOOTH - Enum constant in enum class com.ditto.java.DittoConnectionType
-
Bluetooth Low Energy transport
- bluetoothLe() - Method in interface com.ditto.java.transports.DittoPeerToPeer.Builder
- bluetoothLe(DittoPeerToPeer.Builder.UpdateBluetoothLeConfig) - Method in interface com.ditto.java.transports.DittoPeerToPeer.Builder
- build() - Method in class com.ditto.java.Ditto.Builder
-
Construct a new instance of
Ditto. - build() - Method in class com.ditto.java.transports.DittoTransportConfig.Builder
- Builder() - Constructor for class com.ditto.java.transports.DittoTransportConfig.Builder
- Builder(DittoDependencies) - Constructor for class com.ditto.java.Ditto.Builder
-
Construct a new builder instance with the provided
DittoDependencies.
C
- CannotEstablishConnection - Enum constant in enum class com.ditto.java.DittoTransportCondition
- cbor() - Method in record class com.ditto.java.DittoError.StoreErrorReason.InvalidDocumentStructure
-
Returns the value of the
cborrecord component. - clientInfoJSON() - Method in record class com.ditto.java.DittoAuthenticator.LoginResult
-
Returns the value of the
clientInfoJSONrecord component. - close() - Method in interface com.ditto.java.Ditto
-
Shut down Ditto and release all resources.
- close() - Method in interface com.ditto.java.DittoAttachment
- close() - Method in interface com.ditto.java.DittoAttachmentFetcher
-
Stops fetching the associated attachment and cleans up any associated resources.
- close() - Method in interface com.ditto.java.DittoPresence
-
Stops callbacks from presence graph updates.
- close() - Method in interface com.ditto.java.DittoQueryResult
-
Clean up result and release resources.
- close() - Method in interface com.ditto.java.DittoQueryResultItem
-
Clean up result and release resources.
- close() - Method in interface com.ditto.java.DittoStoreObserver
-
Cancels the observation.
- close() - Method in interface com.ditto.java.DittoSyncSubscription
-
Closes the sync subscription so that new changes matching the query are no longer received from other peers.
- com.ditto.java - package com.ditto.java
- com.ditto.java.transports - package com.ditto.java.transports
- COMPLETED - Enum constant in enum class com.ditto.java.DittoAttachmentFetchEventType
- connect() - Method in class com.ditto.java.transports.DittoTransportConfig.Builder
- connect(DittoTransportConfig.Builder.UpdateConnectConfig) - Method in class com.ditto.java.transports.DittoTransportConfig.Builder
- copyToPath(String) - Method in interface com.ditto.java.DittoAttachment
-
Copies the attachment to the specified file path.
- CrdtError(String) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.CrdtError
-
Creates an instance of a
CrdtErrorrecord class. - createWithValue(Object) - Static method in interface com.ditto.java.DittoRegister
D
- d(String, Object) - Static method in class com.ditto.java.DittoLog
- d(String, Object, Throwable) - Static method in class com.ditto.java.DittoLog
- data() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeData
-
Returns the value of the
datarecord component. - DEBUG - Enum constant in enum class com.ditto.java.DittoLogLevel
- DefaultDittoDependencies - Class in com.ditto.java
-
Default implementation for
DittoDependencieswhich creates adittodirectory inside the directory provided. - DefaultDittoDependencies(File) - Constructor for class com.ditto.java.DefaultDittoDependencies
- DELETED - Enum constant in enum class com.ditto.java.DittoAttachmentFetchEventType
- dematerialize() - Method in interface com.ditto.java.DittoQueryResultItem
-
Releases the materialized value from memory.
- DENY - Enum constant in enum class com.ditto.java.DittoConnectionRequestAuthorization
-
The connection request will be denied.
- DepthLimitExceeded() - Constructor for record class com.ditto.java.DittoError.ValidationErrorReason.DepthLimitExceeded
-
Creates an instance of a
DepthLimitExceededrecord class. - DIRECTORY - Enum constant in enum class com.ditto.java.DittoFileSystemType
- disableSyncWithV3() - Method in interface com.ditto.java.Ditto
-
Disable sync with peers running version 3 or lower of the Ditto SDK.
- Ditto - Interface in com.ditto.java
-
Dittois the entrypoint for accessing Ditto-related functionality in the Java SDK. - Ditto.Builder - Class in com.ditto.java
-
Builder to construct a new
Dittoinstance. - Ditto.UpdateTransportConfig - Interface in com.ditto.java
- DittoAddress - Interface in com.ditto.java
-
An address uniquely representing another device on the Ditto network.
- DittoAdvertisementFrequency - Enum Class in com.ditto.java.transports
-
How often to transmit Bluetooth LE advertisements.
- DittoAdvertisementPower - Enum Class in com.ditto.java.transports
-
How much power to use when transmitting Bluetooth LE advertisements.
- DittoAttachment - Interface in com.ditto.java
-
Represents an attachment and can be used to insert the associated attachment into a document at a specific key.
- DittoAttachmentFetcher - Interface in com.ditto.java
-
These objects are returned by calls to
DittoStore.fetchAttachment(com.ditto.java.DittoAttachmentToken, com.ditto.java.DittoAttachmentFetchEventHandler). - DittoAttachmentFetchEvent - Interface in com.ditto.java
-
The different events that can occur in relation to an attachment fetch.
- DittoAttachmentFetchEvent.Completed - Interface in com.ditto.java
-
Event signaling the completion of an attachment download.
- DittoAttachmentFetchEvent.Deleted - Interface in com.ditto.java
-
Event signaling the deletion of an attachment.
- DittoAttachmentFetchEvent.Progress - Interface in com.ditto.java
-
Event signaling download progress for an attachment.
- DittoAttachmentFetchEventHandler - Interface in com.ditto.java
- DittoAttachmentFetchEventType - Enum Class in com.ditto.java
-
The different types of
DittoAttachmentFetchEvent. - DittoAttachmentToken - Interface in com.ditto.java
-
Serves as a token for a specific attachment that you can pass to a call to
DittoStore.fetchAttachment(com.ditto.java.DittoAttachmentToken, com.ditto.java.DittoAttachmentFetchEventHandler). - DittoAuthenticationCallback - Interface in com.ditto.java
-
Provides feedback to the developer about Ditto authentication status.
- DittoAuthenticationStatus - Interface in com.ditto.java
-
Provides info about the authentication status.
- DittoAuthenticator - Interface in com.ditto.java
-
Log in to a remote authentication service, using an
OnlineWithAuthenticationor anOnlineidentity. - DittoAuthenticator.LoginCallback - Interface in com.ditto.java
- DittoAuthenticator.LoginCallbackWithClientInfoJSON - Interface in com.ditto.java
- DittoAuthenticator.LoginResult - Record Class in com.ditto.java
- DittoAuthenticator.LogoutCleanup - Interface in com.ditto.java
- DittoAuthenticator.StatusListener - Interface in com.ditto.java
- DittoBluetoothLeConfig - Interface in com.ditto.java.transports
- DittoBluetoothLeConfig.Builder - Interface in com.ditto.java.transports
- DittoChangeListener - Interface in com.ditto.java
-
A store observation listener is called whenever an active store observer receives a new query result.
- DittoChangeListenerWithNextSignal - Interface in com.ditto.java
-
A store observation listener is called whenever an active store observer receives a new query result.
- DittoConditionSource - Enum Class in com.ditto.java
- DittoConnect - Interface in com.ditto.java.transports
-
Specific servers that Ditto should attempt to connect to.
- DittoConnect.Builder - Interface in com.ditto.java.transports
- DittoConnection - Interface in com.ditto.java
-
Represents a connection between two peers in a Ditto mesh network.
- DittoConnectionRequest - Interface in com.ditto.java
-
Contains information about a remote peer that has requested a connection.
- DittoConnectionRequestAuthorization - Enum Class in com.ditto.java
-
Indicates whether a connection request should be authorized.
- DittoConnectionType - Enum Class in com.ditto.java
-
The type of
DittoConnectionbetween twoDittoPeers signaling what transport is being used. - DittoCounter - Interface in com.ditto.java
-
Container for a number.
- DittoDependencies - Interface in com.ditto.java
-
An interface describing the dependencies required to initialise a
Dittoinstance. - DittoDiskUsage - Interface in com.ditto.java
-
Entrypoint for accessing information about the amount of disk storage used by Ditto.
- DittoDiskUsageCallback - Interface in com.ditto.java
- DittoDiskUsageItem - Interface in com.ditto.java
-
A directory or file in the Ditto working directory.
- DittoDocumentId - Interface in com.ditto.java
-
An identifier for Ditto documents.
- DittoDocumentIdPath - Interface in com.ditto.java
-
Provides an interface to specify a path to a key in a document identifier that you can then call a function on to get the value at the specified key as a specific type.
- DittoError - Exception Class in com.ditto.java
-
All errors that are thrown by the Ditto SDK are wrapped as a
DittoError. - DittoError(DittoError) - Constructor for exception class com.ditto.java.DittoError
- DittoError.ActivationError - Exception Class in com.ditto.java
- DittoError.ActivationErrorReason - Interface in com.ditto.java
-
The possible underlying reasons an
DittoError.ActivationErroroccurs. - DittoError.ActivationErrorReason.LicenseTokenExpired - Record Class in com.ditto.java
-
The provided license token has expired.
- DittoError.ActivationErrorReason.LicenseTokenUnsupportedFutureVersion - Record Class in com.ditto.java
-
The provided license token is in an unsupported future format.
- DittoError.ActivationErrorReason.LicenseTokenVerificationFailed - Record Class in com.ditto.java
-
Verification of the provided license token failed.
- DittoError.ActivationErrorReason.NotActivatedError - Record Class in com.ditto.java
-
The
Dittoinstance has not yet been activated, which is achieved via a successful call toDitto.setOfflineOnlyLicenseToken(String). - DittoError.AuthenticationError - Exception Class in com.ditto.java
- DittoError.AuthenticationErrorReason - Interface in com.ditto.java
-
The possible underlying reasons an
DittoError.AuthenticationErrorerror occurs. - DittoError.AuthenticationErrorReason.FailedToAuthenticate - Record Class in com.ditto.java
-
Failed to authenticate with remote server.
- DittoError.FatalError - Exception Class in com.ditto.java
-
Represents a fatal error that the
Dittoinstance cannot recover from. - DittoError.IoError - Exception Class in com.ditto.java
-
Errors related to IO devices.
- DittoError.IoErrorReason - Interface in com.ditto.java
-
The possible underlying reasons an
DittoError.IoErroroccurs. - DittoError.IoErrorReason.IoAlreadyExists - Record Class in com.ditto.java
-
An I/O operation failed because the specified entity (such as a file) already exists.
- DittoError.IoErrorReason.IoNotFound - Record Class in com.ditto.java
-
An I/O operation failed because the specified entity (such as a file) already exists.
- DittoError.IoErrorReason.IoOperationFailed - Record Class in com.ditto.java
-
An I/O operation failed.
- DittoError.IoErrorReason.IoPermissionDenied - Record Class in com.ditto.java
-
An I/O operation failed because the necessary privileges to complete it were not present.
- DittoError.LockedWorkingDirectoryError - Exception Class in com.ditto.java
-
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.
- DittoError.PresenceError - Exception Class in com.ditto.java
-
Errors transforming Ditto mesh presence data to or from JSON encoding.
- DittoError.PresenceErrorReason - Interface in com.ditto.java
-
The possible underlying reasons a
DittoError.PresenceErroroccurs. - DittoError.PresenceErrorReason.FailedToDecodeJson - Record Class in com.ditto.java
-
Parsing presence JSON failed.
- DittoError.PresenceErrorReason.FailedToEncodeJson - Record Class in com.ditto.java
-
Generating presence JSON failed.
- DittoError.StoreError - Exception Class in com.ditto.java
- DittoError.StoreErrorReason - Interface in com.ditto.java
-
The possible underlying reasons a
DittoError.StoreErroroccurs. - DittoError.StoreErrorReason.AttachmentCopyTargetAlreadyExists - Record Class in com.ditto.java
-
The target file for the attachment copy already exists.
- DittoError.StoreErrorReason.AttachmentDataRetrievalError - Record Class in com.ditto.java
-
The attachment data failed to be retrieved.
- DittoError.StoreErrorReason.AttachmentFileCopyError - Record Class in com.ditto.java
-
The attachment file failed to be copied.
- DittoError.StoreErrorReason.AttachmentFileNotFound - Record Class in com.ditto.java
-
The given attachment file could not be found.
- DittoError.StoreErrorReason.AttachmentFilePermissionDenied - Record Class in com.ditto.java
-
The attachment could not be found.
- DittoError.StoreErrorReason.AttachmentNotFound - Record Class in com.ditto.java
-
The attachment could not be found.
- DittoError.StoreErrorReason.AttachmentTokenInvalid - Record Class in com.ditto.java
-
The attachment token was invalid.
- DittoError.StoreErrorReason.BackendError - Record Class in com.ditto.java
-
An error occurred with the storage backend (LMDB).
- DittoError.StoreErrorReason.CrdtError - Record Class in com.ditto.java
-
A generic CRDT error occurred.
- DittoError.StoreErrorReason.DocumentContentEncodingFailed - Record Class in com.ditto.java
-
The provided document content failed to be encoded.
- DittoError.StoreErrorReason.DocumentNotFound - Record Class in com.ditto.java
-
The document could not be found.
- DittoError.StoreErrorReason.FailedToCopyAttachment - Record Class in com.ditto.java
-
The attachment copy failed.
- DittoError.StoreErrorReason.FailedToCreateAttachment - Record Class in com.ditto.java
-
A problem occurred creating the attachment.
- DittoError.StoreErrorReason.FailedToDecodeCounter - Record Class in com.ditto.java
-
A Counter couldn't be created from the decoded Map.
- DittoError.StoreErrorReason.FailedToDecodeData - Record Class in com.ditto.java
-
Data could not be decoded.
- DittoError.StoreErrorReason.FailedToDecodeDocument - Record Class in com.ditto.java
-
The document could not be decoded.
- DittoError.StoreErrorReason.FailedToDecodeValue - Record Class in com.ditto.java
-
The value could not be decoded.
- DittoError.StoreErrorReason.FailedToEncodeValue - Record Class in com.ditto.java
-
The provided value could not be encoded.
- DittoError.StoreErrorReason.FailedToFetchAttachment - Record Class in com.ditto.java
-
A problem occurred fetching the attachment.
- DittoError.StoreErrorReason.FailedToGetDocumentData - Record Class in com.ditto.java
-
The document's data at the specified path could not be obtained.
- DittoError.StoreErrorReason.FailedToGetDocumentIDData - Record Class in com.ditto.java
-
The document ID's data at the specified path could not be obtained.
- DittoError.StoreErrorReason.FailedToInitializeDittoDirectory - Record Class in com.ditto.java
-
The directory that Ditto attempted to use for its persisted data could not be initialized.
- DittoError.StoreErrorReason.InvalidCrdtType - Record Class in com.ditto.java
-
An invalid CRDT type was encountered.
- DittoError.StoreErrorReason.InvalidDocumentStructure - Record Class in com.ditto.java
-
The document's internal representation was invalid.
- DittoError.StoreErrorReason.InvalidLiveQueryId - Record Class in com.ditto.java
-
The live query has not obtained a valid identifier.
- DittoError.StoreErrorReason.InvalidValueForCrdt - Record Class in com.ditto.java
-
An invalid value was encountered for a corresponding CRDT type.
- DittoError.StoreErrorReason.NoIdPresentInDocument - Record Class in com.ditto.java
-
The document did not have an
_idkey when attempting to decode it. - DittoError.StoreErrorReason.NonStringKeyInDocument - Record Class in com.ditto.java
-
The document, represented as a CBOR map, had a key that was not a string.
- DittoError.StoreErrorReason.QueryArgumentsInvalid - Record Class in com.ditto.java
-
The provided query arguments were invalid
- DittoError.StoreErrorReason.QueryCompilationFailed - Record Class in com.ditto.java
-
Compilation of the provided query failed.
- DittoError.StoreErrorReason.QueryError - Record Class in com.ditto.java
-
The query was invalid.
- DittoError.StoreErrorReason.QueryInvalid - Record Class in com.ditto.java
-
The query is invalid.
- DittoError.StoreErrorReason.QueryNotSupported - Record Class in com.ditto.java
-
The query is syntactically valid but uses features that are either not supported at all yet or not supported in a particular context.
- DittoError.TransportError - Exception Class in com.ditto.java
- DittoError.TransportErrorReason - Interface in com.ditto.java
-
The possible underlying reasons a
DittoError.TransportErrorerror occurs. - DittoError.TransportErrorReason.FailedToDecodeTransportDiagnostics - Record Class in com.ditto.java
-
Decoding of transport diagnostics data failed.
- DittoError.TransportErrorReason.IncorrectPlatformTransportConfig - Record Class in com.ditto.java
-
The wrong platform's DittoTransportConfig was provided.
- DittoError.UnknownError - Exception Class in com.ditto.java
-
Some not-yet-categorized error occurred.
- DittoError.UnsupportedError - Exception Class in com.ditto.java
-
Operation is not supported.
- DittoError.ValidationError - Exception Class in com.ditto.java
- DittoError.ValidationErrorReason - Interface in com.ditto.java
-
Errors interacting with
DittoSmallPeerInfo. - DittoError.ValidationErrorReason.Base64Invalid - Record Class in com.ditto.java
-
Invalid base64-encoded string:
- DittoError.ValidationErrorReason.DepthLimitExceeded - Record Class in com.ditto.java
-
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.
- DittoError.ValidationErrorReason.InternalSubsystemUnavailable - Record Class in com.ditto.java
-
The observability subsystem is unavailable.
- DittoError.ValidationErrorReason.InvalidCbor - Record Class in com.ditto.java
-
Expected valid CBOR.
- DittoError.ValidationErrorReason.InvalidJson - Record Class in com.ditto.java
-
Expected valid JSON.
- DittoError.ValidationErrorReason.MissingKey - Record Class in com.ditto.java
-
The given Map was missing a required entry for the given key name.
- DittoError.ValidationErrorReason.NotAMap - Record Class in com.ditto.java
-
The value provided was not a
Map. - DittoError.ValidationErrorReason.NotJsonCompatible - Record Class in com.ditto.java
-
The object is or contain(s) types that aren't JSON compatible.
- DittoError.ValidationErrorReason.SizeLimitExceeded - Record Class in com.ditto.java
-
The size of the provided metadata is too large.
- DittoError.ValidationErrorReason.UnknownSyncScope - Record Class in com.ditto.java
-
The provided
DittoSmallPeerInfoSyncScopevalue didn't correspond with any known enum cases. - DittoFileSystemType - Enum Class in com.ditto.java
-
Enum for the type of file represented by a
DittoDiskUsageItem. - DittoGlobalConfig - Interface in com.ditto.java.transports
-
Settings not associated with any specific type of transport.
- DittoGlobalConfig.Builder - Interface in com.ditto.java.transports
- DittoHttpListenConfig - Interface in com.ditto.java.transports
- DittoHttpListenConfig.Builder - Interface in com.ditto.java.transports
- DittoIdentity - Class in com.ditto.java
-
The various identity configurations that you can use when initializing a
Dittoinstance. - DittoIdentity(DittoIdentity) - Constructor for class com.ditto.java.DittoIdentity
- DittoIdentity.Manual - Class in com.ditto.java
-
A manually-provided certificate identity.
- DittoIdentity.OfflinePlayground - Class in com.ditto.java
-
Develop peer-to-peer apps with no cloud connection.
- DittoIdentity.OnlinePlayground - Class in com.ditto.java
-
Test a Ditto Cloud app with weak shared token authentication ("Playground mode").
- DittoIdentity.OnlineWithAuthentication - Class in com.ditto.java
-
Run Ditto in secure production mode, logging on to Ditto Cloud or on on-premises authentication server.
- DittoIdentity.SharedKey - Class in com.ditto.java
-
A mode where any device is trusted provided they know the secret key.
- DittoLanConfig - Interface in com.ditto.java.transports
- DittoLanConfig.Builder - Interface in com.ditto.java.transports
- DittoListen - Interface in com.ditto.java.transports
-
Configure this device as a Ditto server.
- DittoListen.Builder - Interface in com.ditto.java.transports
- DittoListen.Builder.UpdateHttpListenConfig - Interface in com.ditto.java.transports
- DittoListen.Builder.UpdateTcpListenConfig - Interface in com.ditto.java.transports
- DittoLog - Class in com.ditto.java
-
Main access for Ditto logging API.
- DittoLogCallback - Interface in com.ditto.java
- DittoLogDecorator - Interface in com.ditto.java
- DittoLogger - Class in com.ditto.java
-
Singleton with static methods to customize the logging behavior from Ditto.
- DittoLogLevel - Enum Class in com.ditto.java
- DittoMutableCounter - Interface in com.ditto.java
-
Container for a number that can be incremented and decremented.
- DittoMutableRegister - Interface in com.ditto.java
-
Represents a mutable CRDT register that can be updated while updating a document.
- DittoPeer - Interface in com.ditto.java
-
An instance of Ditto taking part in the mesh network.
- DittoPeerToPeer - Interface in com.ditto.java.transports
-
Configuration of peer-to-peer transports, which are able to discover and connect to peers on their own.
- DittoPeerToPeer.Builder - Interface in com.ditto.java.transports
- DittoPeerToPeer.Builder.UpdateBluetoothLeConfig - Interface in com.ditto.java.transports
- DittoPeerToPeer.Builder.UpdateLanConfig - Interface in com.ditto.java.transports
- DittoPeerToPeer.Builder.UpdateWifiAwareConfig - Interface in com.ditto.java.transports
- DittoPresence - Interface in com.ditto.java
-
The entrypoint for all actions that relate presence of other peers known by the current peer, either directly or through other peers.
- DittoPresence.ConnectionRequestHandler - Interface in com.ditto.java
- DittoPresence.PresenceGraphChangedListener - Interface in com.ditto.java
- DittoPresenceGraph - Interface in com.ditto.java
-
Represents the Ditto mesh network of peers and their connections between each other.
- DittoPresenceObserver - Interface in com.ditto.java
-
A token returned by
DittoPresence.observe(DittoPresence.PresenceGraphChangedListener). - DittoQueryResult - Interface in com.ditto.java
-
Represents results returned when executing a DQL query containing a
DittoQueryResultItemfor each match. - DittoQueryResultItem - Interface in com.ditto.java
-
Represents a single match of a DQL query, similar to a "row" in SQL terms.
- DittoRegister - Interface in com.ditto.java
-
Container for a number.
- DittoSignalNext - Interface in com.ditto.java
- DittoSmallPeerInfo - Interface in com.ditto.java
-
Entrypoint for small peer info collection.
- DittoSmallPeerInfoSyncScope - Enum Class in com.ditto.java
- DittoStore - Interface in com.ditto.java
-
Provides access to execute Ditto queries.
- DittoStoreObserver - Interface in com.ditto.java
-
A store observer invokes an observation handler whenever results for its query change.
- DittoSync - Interface in com.ditto.java
-
Provides access to sync related functionality of Ditto.
- DittoSyncSubscription - Interface in com.ditto.java
-
A sync subscription configures
Dittoto receive updates from remote peers about documents matching the subscription's query. - DittoTcpListenConfig - Interface in com.ditto.java.transports
- DittoTcpListenConfig.Builder - Interface in com.ditto.java.transports
- DittoTransportCondition - Enum Class in com.ditto.java
- DittoTransportConditionChangedCallback - Interface in com.ditto.java
- DittoTransportConfig - Interface in com.ditto.java.transports
-
A configuration object specifying which network transports Ditto should use to sync data.
- DittoTransportConfig.Builder - Class in com.ditto.java.transports
- DittoTransportConfig.Builder.UpdateConnectConfig - Interface in com.ditto.java.transports
- DittoTransportConfig.Builder.UpdateGlobalConfig - Interface in com.ditto.java.transports
- DittoTransportConfig.Builder.UpdateListenConfig - Interface in com.ditto.java.transports
- DittoTransportConfig.Builder.UpdatePeerToPeerConfig - Interface in com.ditto.java.transports
- DittoTransportDiagnostics - Interface in com.ditto.java
- DittoTransportSnapshot - Interface in com.ditto.java
- DittoUInt - Interface in com.ditto.java
- DittoULong - Interface in com.ditto.java
- DittoWifiAwareConfig - Interface in com.ditto.java.transports
- DittoWifiAwareConfig.Builder - Interface in com.ditto.java.transports
- DocumentContentEncodingFailed(Exception) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.DocumentContentEncodingFailed
-
Creates an instance of a
DocumentContentEncodingFailedrecord class. - DocumentNotFound() - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.DocumentNotFound
-
Creates an instance of a
DocumentNotFoundrecord class.
E
- e(String, Object) - Static method in class com.ditto.java.DittoLog
- e(String, Object, Throwable) - Static method in class com.ditto.java.DittoLog
- ensureDirectoryExists(String) - Method in class com.ditto.java.DefaultDittoDependencies
- ensureDirectoryExists(String) - Method in interface com.ditto.java.DittoDependencies
- equals(Object) - Method in record class com.ditto.java.DittoAuthenticator.LoginResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.ActivationErrorReason.LicenseTokenExpired
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.ActivationErrorReason.LicenseTokenUnsupportedFutureVersion
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.ActivationErrorReason.LicenseTokenVerificationFailed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.ActivationErrorReason.NotActivatedError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.AuthenticationErrorReason.FailedToAuthenticate
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.IoErrorReason.IoAlreadyExists
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.IoErrorReason.IoNotFound
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.IoErrorReason.IoOperationFailed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.IoErrorReason.IoPermissionDenied
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.PresenceErrorReason.FailedToDecodeJson
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.PresenceErrorReason.FailedToEncodeJson
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentCopyTargetAlreadyExists
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentDataRetrievalError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentFileCopyError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentFileNotFound
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentFilePermissionDenied
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentNotFound
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentTokenInvalid
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.BackendError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.CrdtError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.DocumentContentEncodingFailed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.DocumentNotFound
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToCopyAttachment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToCreateAttachment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeCounter
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeDocument
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToEncodeValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToFetchAttachment
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToGetDocumentData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToGetDocumentIDData
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToInitializeDittoDirectory
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.InvalidCrdtType
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.InvalidDocumentStructure
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.InvalidLiveQueryId
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.InvalidValueForCrdt
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.NoIdPresentInDocument
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.NonStringKeyInDocument
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.QueryArgumentsInvalid
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.QueryCompilationFailed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.QueryError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.QueryInvalid
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.StoreErrorReason.QueryNotSupported
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.TransportErrorReason.FailedToDecodeTransportDiagnostics
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.TransportErrorReason.IncorrectPlatformTransportConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.ValidationErrorReason.Base64Invalid
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.ValidationErrorReason.DepthLimitExceeded
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.ValidationErrorReason.InternalSubsystemUnavailable
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.ValidationErrorReason.InvalidCbor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.ValidationErrorReason.InvalidJson
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.ValidationErrorReason.MissingKey
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.ValidationErrorReason.NotAMap
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.ValidationErrorReason.NotJsonCompatible
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.ValidationErrorReason.SizeLimitExceeded
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.ditto.java.DittoError.ValidationErrorReason.UnknownSyncScope
-
Indicates whether some other object is "equal to" this one.
- error() - Method in record class com.ditto.java.DittoAuthenticator.LoginResult
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoError.PresenceErrorReason.FailedToDecodeJson
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoError.PresenceErrorReason.FailedToEncodeJson
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentCopyTargetAlreadyExists
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentDataRetrievalError
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentFileCopyError
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoError.StoreErrorReason.DocumentContentEncodingFailed
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToCopyAttachment
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeData
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeDocument
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeValue
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToInitializeDittoDirectory
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoError.TransportErrorReason.FailedToDecodeTransportDiagnostics
-
Returns the value of the
errorrecord component. - error() - Method in record class com.ditto.java.DittoError.TransportErrorReason.IncorrectPlatformTransportConfig
-
Returns the value of the
errorrecord component. - ERROR - Enum constant in enum class com.ditto.java.DittoLogLevel
- execute(String) - Method in interface com.ditto.java.DittoStore
-
Executes a DQL query and returns items as a query result.
- execute(String, Map<String, ?>) - Method in interface com.ditto.java.DittoStore
-
Executes a DQL query and returns items as a query result.
- exportToFileBlocking(String) - Static method in class com.ditto.java.DittoLogger
-
Exports collected logs to a compressed and JSON-encoded file on the local file system.
F
- FailedToAuthenticate() - Constructor for record class com.ditto.java.DittoError.AuthenticationErrorReason.FailedToAuthenticate
-
Creates an instance of a
FailedToAuthenticaterecord class. - FailedToCopyAttachment(IOException) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.FailedToCopyAttachment
-
Creates an instance of a
FailedToCopyAttachmentrecord class. - FailedToCreateAttachment(String) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.FailedToCreateAttachment
-
Creates an instance of a
FailedToCreateAttachmentrecord class. - FailedToDecodeCounter(String) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeCounter
-
Creates an instance of a
FailedToDecodeCounterrecord class. - FailedToDecodeData(Exception, byte[]) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeData
-
Creates an instance of a
FailedToDecodeDatarecord class. - FailedToDecodeDocument(Throwable) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeDocument
-
Creates an instance of a
FailedToDecodeDocumentrecord class. - FailedToDecodeJson(Throwable) - Constructor for record class com.ditto.java.DittoError.PresenceErrorReason.FailedToDecodeJson
-
Creates an instance of a
FailedToDecodeJsonrecord class. - FailedToDecodeTransportDiagnostics(Throwable) - Constructor for record class com.ditto.java.DittoError.TransportErrorReason.FailedToDecodeTransportDiagnostics
-
Creates an instance of a
FailedToDecodeTransportDiagnosticsrecord class. - FailedToDecodeValue(Throwable) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeValue
-
Creates an instance of a
FailedToDecodeValuerecord class. - FailedToEncodeJson(Throwable) - Constructor for record class com.ditto.java.DittoError.PresenceErrorReason.FailedToEncodeJson
-
Creates an instance of a
FailedToEncodeJsonrecord class. - FailedToEncodeValue(Object, String) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.FailedToEncodeValue
-
Creates an instance of a
FailedToEncodeValuerecord class. - FailedToFetchAttachment(String) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.FailedToFetchAttachment
-
Creates an instance of a
FailedToFetchAttachmentrecord class. - FailedToGetDocumentData(String) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.FailedToGetDocumentData
-
Creates an instance of a
FailedToGetDocumentDatarecord class. - FailedToGetDocumentIDData(String) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.FailedToGetDocumentIDData
-
Creates an instance of a
FailedToGetDocumentIDDatarecord class. - FailedToInitializeDittoDirectory(Throwable) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.FailedToInitializeDittoDirectory
-
Creates an instance of a
FailedToInitializeDittoDirectoryrecord class. - fetchAttachment(DittoAttachmentToken, DittoAttachmentFetchEventHandler) - Method in interface com.ditto.java.DittoStore
-
Trigger an attachment to be downloaded locally to the device and observe its progress as it does so.
- fetchAttachment(Map<String, Object>, DittoAttachmentFetchEventHandler) - Method in interface com.ditto.java.DittoStore
-
Trigger an attachment to be downloaded locally to the device and observe its progress as it does so.
- FILE - Enum constant in enum class com.ditto.java.DittoFileSystemType
- fromBigInteger(BigInteger) - Static method in interface com.ditto.java.DittoULong
-
Creates a new UInt instance from the provided BigInteger.
- fromIntData(int) - Static method in interface com.ditto.java.DittoUInt
-
Creates a new UInt instance from the provided 32 bits of data represented as Java int value.
- fromLong(long) - Static method in interface com.ditto.java.DittoUInt
-
Creates a new UInt instance from the provided long value.
- fromLongData(long) - Static method in interface com.ditto.java.DittoULong
-
Creates a new ULong instance from the provided 64 bits of data represented as Java long value.
G
- GenericFailure - Enum constant in enum class com.ditto.java.DittoTransportCondition
- get(int) - Method in interface com.ditto.java.DittoDocumentId
-
Used to specify an index in the array at the preceding key-path specified through the subscripting defined previously.
- get(int) - Method in interface com.ditto.java.DittoDocumentIdPath
-
Used to specify an index in the array at the preceding key-path specified through the subscripting defined previously.
- get(String) - Method in interface com.ditto.java.DittoDocumentId
-
Used to specify a path to a key in the document identifier that you can subscript further to access a nested key in the document identifier.
- get(String) - Method in interface com.ditto.java.DittoDocumentIdPath
-
Used to specify a path to a key in the document identifier that you can subscript further to access a nested key in the document identifier.
- getAddress() - Method in interface com.ditto.java.DittoPeer
-
The unique network identifier of the peer.
- getAdvertisementInterval() - Method in interface com.ditto.java.transports.DittoBluetoothLeConfig
- getAdvertisementPower() - Method in interface com.ditto.java.transports.DittoBluetoothLeConfig
- getAppId() - Method in interface com.ditto.java.Ditto
-
The App ID component of the identity in use.
- getApproximateDistanceInMeters() - Method in interface com.ditto.java.DittoConnection
-
Gets an estimate of distance to the remote peer.
- getArguments() - Method in interface com.ditto.java.DittoStoreObserver
-
The query arguments of the store observer (as passed when registering it).
- getArguments() - Method in interface com.ditto.java.DittoSyncSubscription
-
The query arguments of the sync subscription (as passed while registering it).
- getAttachment() - Method in interface com.ditto.java.DittoAttachmentFetchEvent.Completed
- getAttachmentFetchers() - Method in interface com.ditto.java.DittoStore
-
All currently active attachment fetchers.
- getAuth() - Method in interface com.ditto.java.Ditto
-
Provides access to authentication information and methods for logging on to Ditto Cloud.
- getBluetoothLe() - Method in interface com.ditto.java.transports.DittoPeerToPeer
- getBoolean() - Method in interface com.ditto.java.DittoRegister
-
Returns the register's value as a
Booleanif possible, otherwise returnsfalse. - getBooleanOrNull() - Method in interface com.ditto.java.DittoDocumentIdPath
-
Returns the value at the previously specified key in the document as a [Boolean] if possible, otherwise the return value will be `null`.
- getCallback() - Method in interface com.ditto.java.Ditto
- getCborData() - Method in interface com.ditto.java.DittoQueryResultItem
-
Returns the content of the item as CBOR data.
- getChildren() - Method in interface com.ditto.java.DittoDiskUsageItem
-
A list of child items.
- getConnect() - Method in interface com.ditto.java.transports.DittoTransportConfig
- getConnected() - Method in interface com.ditto.java.DittoTransportSnapshot
- getConnecting() - Method in interface com.ditto.java.DittoTransportSnapshot
- getConnectionRequestHandler() - Method in interface com.ditto.java.DittoPresence
-
Set this handler to control which peers in a Ditto mesh can connect to the current peer.
- getConnections() - Method in interface com.ditto.java.DittoPeer
-
Connections that are currently active with the current peer.
- getConnectionType() - Method in interface com.ditto.java.DittoConnection
-
Type of transport enabling this connection.
- getConnectionType() - Method in interface com.ditto.java.DittoConnectionRequest
-
The connection type used to establish this particular connection.
- getConnectionType() - Method in interface com.ditto.java.DittoTransportSnapshot
- getCurrent() - Method in interface com.ditto.java.DittoDiskUsage
-
Returns a single snapshot of disk usage.
- getData() - Method in interface com.ditto.java.DittoAttachment
-
Returns the attachment's data as a
ByteArray. - getDeviceName() - Method in interface com.ditto.java.Ditto
- getDeviceName() - Method in interface com.ditto.java.DittoPeer
-
The human-readable device name of the peer.
- getDisconnected() - Method in interface com.ditto.java.DittoTransportSnapshot
- getDisconnecting() - Method in interface com.ditto.java.DittoTransportSnapshot
- getDiskUsage() - Method in interface com.ditto.java.Ditto
-
Provides access to the SDK's disk usage monitoring.
- getDittoSdkVersion() - Method in interface com.ditto.java.DittoPeer
-
The Ditto SDK version the peer is running with..
- getDoubleOrNull() - Method in interface com.ditto.java.DittoRegister
-
Returns the register's value as a
Doubleif possible, otherwise returnsnull. - getDownloadedBytes() - Method in interface com.ditto.java.DittoAttachmentFetchEvent.Progress
- getFloatOrNull() - Method in interface com.ditto.java.DittoRegister
-
Returns the register's value as a
Floatif possible, otherwise returnsnull. - getGlobal() - Method in interface com.ditto.java.transports.DittoTransportConfig
- getGraph() - Method in interface com.ditto.java.DittoPresence
-
The latest snapshot of information about peers in the Ditto mesh network.
- getHttp() - Method in interface com.ditto.java.transports.DittoListen
- getId() - Method in interface com.ditto.java.DittoAttachment
-
The attachment's ID.
- getId() - Method in interface com.ditto.java.DittoAttachmentToken
-
The attachment's ID.
- getId() - Method in interface com.ditto.java.DittoConnection
-
This ID is deterministic for any two peers and a given connection type.
- getIdentityServiceMetadata() - Method in interface com.ditto.java.DittoConnectionRequest
- getIdentityServiceMetadata() - Method in interface com.ditto.java.DittoPeer
-
Metadata associated with the peer by the identity service.
- getIdentityServiceMetadataJson() - Method in interface com.ditto.java.DittoConnectionRequest
-
Metadata for the remote peer that is provided by the identity service.
- getImplementation() - Method in class com.ditto.java.DittoIdentity
- getInputStream() - Method in interface com.ditto.java.DittoAttachment
-
Returns an input stream for the attachment file.
- getIntegerOrNull() - Method in interface com.ditto.java.DittoDocumentIdPath
-
Returns the value at the previously specified key in the document as an
Integerif possible, otherwise the return value will benull. - getIntegerOrNull() - Method in interface com.ditto.java.DittoRegister
-
Returns the register's value as a
Integerif possible, otherwise returnsnull. - getInterfaceIp() - Method in interface com.ditto.java.transports.DittoHttpListenConfig
- getInterfaceIp() - Method in interface com.ditto.java.transports.DittoTcpListenConfig
- getItems() - Method in interface com.ditto.java.DittoQueryResult
-
Individual items matching a DQL query
- getJsonString() - Method in interface com.ditto.java.DittoQueryResultItem
-
Returns the content of the item as a JSON string.
- getLan() - Method in interface com.ditto.java.transports.DittoPeerToPeer
- getLength() - Method in interface com.ditto.java.DittoAttachment
-
Length (size) of the attachment
- getLength() - Method in interface com.ditto.java.DittoAttachmentToken
-
Length (size) of the attachment.
- getListen() - Method in interface com.ditto.java.transports.DittoTransportConfig
- getListOrNull() - Method in interface com.ditto.java.DittoDocumentIdPath
-
Returns the value at the previously specified key in the document as a
List<?>if possible, otherwise the return value will benull. - getListOrNull() - Method in interface com.ditto.java.DittoRegister
-
Returns the register's value as a
List<?>if possible, otherwise returnsnull. - getLocalizedMessage() - Method in exception class com.ditto.java.DittoError
-
A String representation of the error suitable for display.
- getLocalPeer() - Method in interface com.ditto.java.DittoPresenceGraph
-
The local peer (usually the peer that is represented by the currently running Ditto instance).
- getLogDecorator() - Static method in class com.ditto.java.DittoLog
- getMapOrNull() - Method in interface com.ditto.java.DittoDocumentIdPath
-
Returns the value at the previously specified key in the document as a
Map<String, ?>if possible, otherwise the return value will benull. - getMapOrNull() - Method in interface com.ditto.java.DittoRegister
-
Returns the register's value as a
Map<String, ?>if possible, otherwise returnsnull. - getMessage() - Method in exception class com.ditto.java.DittoError
-
A formatted description of the error.
- getMetadata() - Method in interface com.ditto.java.DittoAttachment
-
The attachment's metadata.
- getMetadata() - Method in interface com.ditto.java.DittoAttachmentToken
-
Attachment's metadata.
- getMetadata() - Method in interface com.ditto.java.DittoSmallPeerInfo
-
The metadata is free-form, user-provided
Mapwhich is serialized into JSON and is inserted into the small peer info system doc at each collection interval. - getMetadataJsonString() - Method in interface com.ditto.java.DittoSmallPeerInfo
- getMinimumLogLevel() - Static method in class com.ditto.java.DittoLogger
-
Get the minimum log level at which logs will be logged, provided
DittoLogger.isEnabled()istrue. - getMutatedDocumentIds() - Method in interface com.ditto.java.DittoQueryResult
-
IDs of documents that were mutated locally by a mutating DQL query passed to
execute(). - getObservers() - Method in interface com.ditto.java.DittoStore
-
All currently active store observers.
- getOs() - Method in interface com.ditto.java.DittoPeer
-
Operating system of the peer, if known.
- getPath() - Method in interface com.ditto.java.DittoDiskUsageItem
-
Path to the item relative to the Ditto working directory.
- getPeer1Key() - Method in interface com.ditto.java.DittoConnection
-
The peer key of the peer at one end of the connection, as a string.
- getPeer2Key() - Method in interface com.ditto.java.DittoConnection
-
The peer key of the peer at the other end of the connection, as a string.
- getPeerKey() - Method in interface com.ditto.java.DittoPeer
-
The peer key is a unique identifier for a given peer, equal to or derived from the cryptographic public key used to authenticate it.
- getPeerKeyString() - Method in interface com.ditto.java.DittoConnectionRequest
-
The unique peer key of the remote peer.
- getPeerMetadata() - Method in interface com.ditto.java.DittoConnectionRequest
-
Metadata associated with the remote peer.
- getPeerMetadata() - Method in interface com.ditto.java.DittoPeer
- getPeerMetadata() - Method in interface com.ditto.java.DittoPresence
-
Metadata associated with the current peer.
- getPeerMetadataJson() - Method in interface com.ditto.java.DittoConnectionRequest
-
String of JSON-encoded metadata associated with the remote peer.
- getPeerMetadataJsonString() - Method in interface com.ditto.java.DittoPresence
-
Metadata associated with the current peer.
- getPeerToPeer() - Method in interface com.ditto.java.transports.DittoTransportConfig
- getPersistenceDirectory() - Method in class com.ditto.java.DefaultDittoDependencies
- getPersistenceDirectory() - Method in interface com.ditto.java.Ditto
-
Path to the persistence directory in use.
- getPersistenceDirectory() - Method in interface com.ditto.java.DittoDependencies
- getPort() - Method in interface com.ditto.java.transports.DittoHttpListenConfig
- getPort() - Method in interface com.ditto.java.transports.DittoTcpListenConfig
- getPresence() - Method in interface com.ditto.java.Ditto
- getQuery() - Method in interface com.ditto.java.DittoStoreObserver
-
The query string of the store observer (as passed when registering it).
- getQuery() - Method in interface com.ditto.java.DittoSyncSubscription
-
Documents matching this query will be included in the subscription.
- getReason() - Method in exception class com.ditto.java.DittoError.ActivationError
- getReason() - Method in exception class com.ditto.java.DittoError.AuthenticationError
- getReason() - Method in exception class com.ditto.java.DittoError.IoError
- getReason() - Method in exception class com.ditto.java.DittoError.PresenceError
- getReason() - Method in exception class com.ditto.java.DittoError.StoreError
- getReason() - Method in exception class com.ditto.java.DittoError.TransportError
- getReason() - Method in exception class com.ditto.java.DittoError.ValidationError
- getRemotePeers() - Method in interface com.ditto.java.DittoPresenceGraph
-
Returns all remote peers known by the
localPeer, either directly or via other remote peers. - getRetryIntervalMs() - Method in interface com.ditto.java.transports.DittoConnect
- getRoutingHint() - Method in interface com.ditto.java.transports.DittoGlobalConfig
-
The routing hint for this device.
- getSdkVersion() - Method in interface com.ditto.java.Ditto
-
A string of version metadata for the Ditto SDK.
- getSizeIntBytes() - Method in interface com.ditto.java.DittoDiskUsageItem
-
Size of the item.
- getSmallPeerInfo() - Method in interface com.ditto.java.Ditto
-
Provides access to the SDK's small peer info functionality.
- getStaticContentPath() - Method in interface com.ditto.java.transports.DittoHttpListenConfig
- getStatus() - Method in interface com.ditto.java.DittoAuthenticator
-
Returns the current authentication status.
- getStore() - Method in interface com.ditto.java.Ditto
-
Provides access to store related functionality.
- getStringOrNull() - Method in interface com.ditto.java.DittoDocumentIdPath
-
Returns the value at the previously specified key in the document as a
Stringif possible, otherwise the return value will benull. - getStringOrNull() - Method in interface com.ditto.java.DittoRegister
-
Returns the register's value as a
Stringif possible, otherwise returnsnull. - getSubscriptions() - Method in interface com.ditto.java.DittoSync
-
All currently active sync subscriptions.
- getSync() - Method in interface com.ditto.java.Ditto
-
Provides access to sync related functionality.
- getSyncGroup() - Method in interface com.ditto.java.transports.DittoGlobalConfig
-
The sync group for this device.
- getSyncScope() - Method in interface com.ditto.java.DittoSmallPeerInfo
-
Controls which "kind" of peers the small peer info will be replicated to.
- getTcp() - Method in interface com.ditto.java.transports.DittoListen
- getTcpServers() - Method in interface com.ditto.java.transports.DittoConnect
- getTlsCertificatePath() - Method in interface com.ditto.java.transports.DittoHttpListenConfig
- getTlsKeyPath() - Method in interface com.ditto.java.transports.DittoHttpListenConfig
- getTotalBytes() - Method in interface com.ditto.java.DittoAttachmentFetchEvent.Progress
- getTransportConfig() - Method in interface com.ditto.java.Ditto
- getTransportDiagnostics() - Method in interface com.ditto.java.Ditto
-
Request bulk status information about the transports.
- getTransports() - Method in interface com.ditto.java.DittoTransportDiagnostics
- getType() - Method in interface com.ditto.java.DittoAttachmentFetchEvent
- getType() - Method in interface com.ditto.java.DittoDiskUsageItem
-
Type of this item.
- getUserId() - Method in interface com.ditto.java.DittoAuthenticationStatus
-
If authenticated, returns the
userIdif one was provided by the authentication service. - getValue() - Method in interface com.ditto.java.DittoCounter
-
Current value of the Counter.
- getValue() - Method in interface com.ditto.java.DittoDocumentId
-
The underlying value of the document identifier as a native type.
- getValue() - Method in interface com.ditto.java.DittoDocumentIdPath
-
Returns the value at the previously specified key in the document as an
Objectif possible, otherwise the return value will benull. - getValue() - Method in interface com.ditto.java.DittoQueryResultItem
-
Returns the content as a materialized dictionary.
- getValue() - Method in interface com.ditto.java.DittoRegister
- getWebsocketUrls() - Method in interface com.ditto.java.transports.DittoConnect
- getWifiAware() - Method in interface com.ditto.java.transports.DittoPeerToPeer
- global() - Method in class com.ditto.java.transports.DittoTransportConfig.Builder
- global(DittoTransportConfig.Builder.UpdateGlobalConfig) - Method in class com.ditto.java.transports.DittoTransportConfig.Builder
H
- handleConnectionRequest(DittoConnectionRequest) - Method in interface com.ditto.java.DittoPresence.ConnectionRequestHandler
- hashCode() - Method in record class com.ditto.java.DittoAuthenticator.LoginResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.ActivationErrorReason.LicenseTokenExpired
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.ActivationErrorReason.LicenseTokenUnsupportedFutureVersion
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.ActivationErrorReason.LicenseTokenVerificationFailed
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.ActivationErrorReason.NotActivatedError
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.AuthenticationErrorReason.FailedToAuthenticate
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.IoErrorReason.IoAlreadyExists
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.IoErrorReason.IoNotFound
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.IoErrorReason.IoOperationFailed
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.IoErrorReason.IoPermissionDenied
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.PresenceErrorReason.FailedToDecodeJson
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.PresenceErrorReason.FailedToEncodeJson
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentCopyTargetAlreadyExists
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentDataRetrievalError
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentFileCopyError
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentFileNotFound
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentFilePermissionDenied
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentNotFound
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentTokenInvalid
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.BackendError
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.CrdtError
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.DocumentContentEncodingFailed
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.DocumentNotFound
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToCopyAttachment
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToCreateAttachment
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeCounter
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeData
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeDocument
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToEncodeValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToFetchAttachment
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToGetDocumentData
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToGetDocumentIDData
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToInitializeDittoDirectory
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.InvalidCrdtType
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.InvalidDocumentStructure
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.InvalidLiveQueryId
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.InvalidValueForCrdt
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.NoIdPresentInDocument
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.NonStringKeyInDocument
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.QueryArgumentsInvalid
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.QueryCompilationFailed
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.QueryError
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.QueryInvalid
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.StoreErrorReason.QueryNotSupported
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.TransportErrorReason.FailedToDecodeTransportDiagnostics
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.TransportErrorReason.IncorrectPlatformTransportConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.Base64Invalid
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.DepthLimitExceeded
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.InternalSubsystemUnavailable
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.InvalidCbor
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.InvalidJson
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.MissingKey
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.NotAMap
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.NotJsonCompatible
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.SizeLimitExceeded
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.UnknownSyncScope
-
Returns a hash code value for this object.
- HIGH - Enum constant in enum class com.ditto.java.transports.DittoAdvertisementFrequency
- HIGH - Enum constant in enum class com.ditto.java.transports.DittoAdvertisementPower
- http() - Method in interface com.ditto.java.transports.DittoListen.Builder
- http(DittoListen.Builder.UpdateHttpListenConfig) - Method in interface com.ditto.java.transports.DittoListen.Builder
I
- i(String, Object) - Static method in class com.ditto.java.DittoLog
- i(String, Object, Throwable) - Static method in class com.ditto.java.DittoLog
- id() - Method in record class com.ditto.java.DittoError.StoreErrorReason.InvalidLiveQueryId
-
Returns the value of the
idrecord component. - IncorrectPlatformTransportConfig(String) - Constructor for record class com.ditto.java.DittoError.TransportErrorReason.IncorrectPlatformTransportConfig
-
Creates an instance of a
IncorrectPlatformTransportConfigrecord class. - increment(double) - Method in interface com.ditto.java.DittoMutableCounter
-
Increments the underlying
valueby the given amount. - INFO - Enum constant in enum class com.ditto.java.DittoLogLevel
- interfaceIp() - Method in interface com.ditto.java.transports.DittoTcpListenConfig.Builder
- interfaceIp(String) - Method in interface com.ditto.java.transports.DittoTcpListenConfig.Builder
- internalCause - Variable in exception class com.ditto.java.DittoError
- InternalSubsystemUnavailable() - Constructor for record class com.ditto.java.DittoError.ValidationErrorReason.InternalSubsystemUnavailable
-
Creates an instance of a
InternalSubsystemUnavailablerecord class. - InvalidCbor(String) - Constructor for record class com.ditto.java.DittoError.ValidationErrorReason.InvalidCbor
-
Creates an instance of a
InvalidCborrecord class. - InvalidCrdtType(String) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.InvalidCrdtType
-
Creates an instance of a
InvalidCrdtTyperecord class. - InvalidDocumentStructure(byte[]) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.InvalidDocumentStructure
-
Creates an instance of a
InvalidDocumentStructurerecord class. - InvalidJson(String) - Constructor for record class com.ditto.java.DittoError.ValidationErrorReason.InvalidJson
-
Creates an instance of a
InvalidJsonrecord class. - InvalidLiveQueryId(int) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.InvalidLiveQueryId
-
Creates an instance of a
InvalidLiveQueryIdrecord class. - InvalidValueForCrdt(String) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.InvalidValueForCrdt
-
Creates an instance of a
InvalidValueForCrdtrecord class. - invoke(DittoError) - Method in interface com.ditto.java.DittoAuthenticator.LoginCallback
- invoke(String, DittoError) - Method in interface com.ditto.java.DittoAuthenticator.LoginCallbackWithClientInfoJSON
- IoAlreadyExists(String) - Constructor for record class com.ditto.java.DittoError.IoErrorReason.IoAlreadyExists
-
Creates an instance of a
IoAlreadyExistsrecord class. - IoNotFound(String) - Constructor for record class com.ditto.java.DittoError.IoErrorReason.IoNotFound
-
Creates an instance of a
IoNotFoundrecord class. - IoOperationFailed(String) - Constructor for record class com.ditto.java.DittoError.IoErrorReason.IoOperationFailed
-
Creates an instance of a
IoOperationFailedrecord class. - IoPermissionDenied(String) - Constructor for record class com.ditto.java.DittoError.IoErrorReason.IoPermissionDenied
-
Creates an instance of a
IoPermissionDeniedrecord class. - isActivated() - Method in interface com.ditto.java.Ditto
-
A flag indicating whether the SDK has been activated with a valid license token.
- isAuthenticated() - Method in interface com.ditto.java.DittoAuthenticationStatus
-
Returns
trueif authenticated, otherwise returnsfalse. - isClosed() - Method in interface com.ditto.java.DittoStoreObserver
-
Convenience property, for determining whether the store observer is active or has been closed.
- isClosed() - Method in interface com.ditto.java.DittoSyncSubscription
-
Convenience property, returns
trueif the sync subscription has been cancelled, otherwise returnsfalse. - isCompatible() - Method in interface com.ditto.java.DittoPeer
-
Indicates whether the peer is compatible with the current peer.
- isConnectedToDittoCloud() - Method in interface com.ditto.java.DittoPeer
-
Indication of whether the peer is connected to the Ditto Cloud (big peer).
- isEmojiLogLevelHeadingsEnabled() - Static method in class com.ditto.java.DittoLogger
-
Checks whether logging levels are signified using emoji headings or classic words.
- isEnabled() - Static method in class com.ditto.java.DittoLogger
-
Checks whether logging is enabled.
- isEnabled() - Method in interface com.ditto.java.DittoSmallPeerInfo
-
Indicates whether the small peer info collector is currently enabled.
- isEnabled() - Method in interface com.ditto.java.transports.DittoBluetoothLeConfig.Builder
- isEnabled() - Method in interface com.ditto.java.transports.DittoBluetoothLeConfig
- isEnabled() - Method in interface com.ditto.java.transports.DittoHttpListenConfig.Builder
- isEnabled() - Method in interface com.ditto.java.transports.DittoHttpListenConfig
- isEnabled() - Method in interface com.ditto.java.transports.DittoLanConfig.Builder
- isEnabled() - Method in interface com.ditto.java.transports.DittoLanConfig
- isEnabled() - Method in interface com.ditto.java.transports.DittoTcpListenConfig.Builder
- isEnabled() - Method in interface com.ditto.java.transports.DittoTcpListenConfig
- isEnabled() - Method in interface com.ditto.java.transports.DittoWifiAwareConfig.Builder
- isEnabled() - Method in interface com.ditto.java.transports.DittoWifiAwareConfig
- isEnabled(boolean) - Method in interface com.ditto.java.transports.DittoBluetoothLeConfig.Builder
- isEnabled(boolean) - Method in interface com.ditto.java.transports.DittoHttpListenConfig.Builder
- isEnabled(boolean) - Method in interface com.ditto.java.transports.DittoLanConfig.Builder
- isEnabled(boolean) - Method in interface com.ditto.java.transports.DittoTcpListenConfig.Builder
- isEnabled(boolean) - Method in interface com.ditto.java.transports.DittoWifiAwareConfig.Builder
- isMaterialized() - Method in interface com.ditto.java.DittoQueryResultItem
-
Returns
trueif value is currently held materialized in memory, otherwise returnsfalse. - isMdnsEnabled() - Method in interface com.ditto.java.transports.DittoLanConfig.Builder
- isMdnsEnabled() - Method in interface com.ditto.java.transports.DittoLanConfig
- isMdnsEnabled(boolean) - Method in interface com.ditto.java.transports.DittoLanConfig.Builder
- isMulticastEnabled() - Method in interface com.ditto.java.transports.DittoLanConfig.Builder
- isMulticastEnabled() - Method in interface com.ditto.java.transports.DittoLanConfig
- isMulticastEnabled(boolean) - Method in interface com.ditto.java.transports.DittoLanConfig.Builder
- isSyncActive() - Method in interface com.ditto.java.Ditto
-
A flag indicating whether sync is active.
- isWebsocketSync() - Method in interface com.ditto.java.transports.DittoHttpListenConfig.Builder
- isWebsocketSync() - Method in interface com.ditto.java.transports.DittoHttpListenConfig
- isWebsocketSync(boolean) - Method in interface com.ditto.java.transports.DittoHttpListenConfig.Builder
K
- key() - Method in record class com.ditto.java.DittoError.StoreErrorReason.NonStringKeyInDocument
-
Returns the value of the
keyrecord component. - keyName() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.MissingKey
-
Returns the value of the
keyNamerecord component.
L
- lan() - Method in interface com.ditto.java.transports.DittoPeerToPeer.Builder
- lan(DittoPeerToPeer.Builder.UpdateLanConfig) - Method in interface com.ditto.java.transports.DittoPeerToPeer.Builder
- LicenseTokenExpired(String) - Constructor for record class com.ditto.java.DittoError.ActivationErrorReason.LicenseTokenExpired
-
Creates an instance of a
LicenseTokenExpiredrecord class. - LicenseTokenUnsupportedFutureVersion(String) - Constructor for record class com.ditto.java.DittoError.ActivationErrorReason.LicenseTokenUnsupportedFutureVersion
-
Creates an instance of a
LicenseTokenUnsupportedFutureVersionrecord class. - LicenseTokenVerificationFailed(String) - Constructor for record class com.ditto.java.DittoError.ActivationErrorReason.LicenseTokenVerificationFailed
-
Creates an instance of a
LicenseTokenVerificationFailedrecord class. - listen() - Method in class com.ditto.java.transports.DittoTransportConfig.Builder
- listen(DittoTransportConfig.Builder.UpdateListenConfig) - Method in class com.ditto.java.transports.DittoTransportConfig.Builder
- LOCAL_PEER_ONLY - Enum constant in enum class com.ditto.java.DittoSmallPeerInfoSyncScope
- log(DittoLogLevel, String, String, Throwable) - Method in interface com.ditto.java.DittoLogDecorator
- log(DittoLogLevel, String) - Method in interface com.ditto.java.DittoLogCallback
- login(String, String) - Method in interface com.ditto.java.DittoAuthenticator
- login(String, String, DittoAuthenticator.LoginCallbackWithClientInfoJSON) - Method in interface com.ditto.java.DittoAuthenticator
- LoginResult(String, DittoError) - Constructor for record class com.ditto.java.DittoAuthenticator.LoginResult
-
Creates an instance of a
LoginResultrecord class. - loginWithCredentials(String, String, String) - Method in interface com.ditto.java.DittoAuthenticator
- loginWithCredentials(String, String, String, DittoAuthenticator.LoginCallback) - Method in interface com.ditto.java.DittoAuthenticator
- logout() - Method in interface com.ditto.java.DittoAuthenticator
- logout(DittoAuthenticator.LogoutCleanup) - Method in interface com.ditto.java.DittoAuthenticator
- LOW - Enum constant in enum class com.ditto.java.transports.DittoAdvertisementFrequency
- LOW - Enum constant in enum class com.ditto.java.transports.DittoAdvertisementPower
M
- Manual(String) - Constructor for class com.ditto.java.DittoIdentity.Manual
-
Constructs a
DittoIdentity.Manualidentity. - materialize() - Method in interface com.ditto.java.DittoQueryResultItem
-
Loads the CBOR representation of the item's content, decodes it into a
Mapso it can be accessed viaDittoQueryResultItem.getValue(). - Mdns - Enum constant in enum class com.ditto.java.DittoConditionSource
- MdnsFailure - Enum constant in enum class com.ditto.java.DittoTransportCondition
- MEDIUM - Enum constant in enum class com.ditto.java.transports.DittoAdvertisementFrequency
- MEDIUM - Enum constant in enum class com.ditto.java.transports.DittoAdvertisementPower
- message() - Method in record class com.ditto.java.DittoError.ActivationErrorReason.LicenseTokenExpired
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.ActivationErrorReason.LicenseTokenUnsupportedFutureVersion
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.ActivationErrorReason.LicenseTokenVerificationFailed
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.ActivationErrorReason.NotActivatedError
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.IoErrorReason.IoAlreadyExists
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.IoErrorReason.IoNotFound
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.IoErrorReason.IoOperationFailed
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.IoErrorReason.IoPermissionDenied
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentFileNotFound
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentFilePermissionDenied
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentNotFound
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentTokenInvalid
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.StoreErrorReason.BackendError
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.StoreErrorReason.CrdtError
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToCreateAttachment
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeCounter
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToEncodeValue
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToFetchAttachment
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.StoreErrorReason.InvalidCrdtType
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.StoreErrorReason.InvalidValueForCrdt
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.StoreErrorReason.QueryError
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.StoreErrorReason.QueryInvalid
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.StoreErrorReason.QueryNotSupported
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.Base64Invalid
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.InvalidCbor
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.InvalidJson
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.NotJsonCompatible
-
Returns the value of the
messagerecord component. - message() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.UnknownSyncScope
-
Returns the value of the
messagerecord component. - MissingKey(String) - Constructor for record class com.ditto.java.DittoError.ValidationErrorReason.MissingKey
-
Creates an instance of a
MissingKeyrecord class.
N
- newAttachment(InputStream) - Method in interface com.ditto.java.DittoStore
-
Creates a new attachment, which can then be inserted into a document.
- newAttachment(InputStream, Map<String, String>) - Method in interface com.ditto.java.DittoStore
-
Creates a new attachment, which can then be inserted into a document.
- newAttachment(String) - Method in interface com.ditto.java.DittoStore
-
Creates a new attachment, which can then be inserted into a document.
- newAttachment(String, Map<String, String>) - Method in interface com.ditto.java.DittoStore
-
Creates a new attachment, which can then be inserted into a document.
- newAttachmentBlocking(InputStream) - Method in interface com.ditto.java.DittoStore
-
A blocking alternative to
DittoStore.newAttachment(InputStream). - newAttachmentBlocking(InputStream, Map<String, String>) - Method in interface com.ditto.java.DittoStore
-
A blocking alternative to
DittoStore.newAttachment(InputStream, Map). - newAttachmentBlocking(String) - Method in interface com.ditto.java.DittoStore
-
A blocking alternative to
DittoStore.newAttachment(String). - newAttachmentBlocking(String, Map<String, String>) - Method in interface com.ditto.java.DittoStore
-
A blocking alternative to
DittoStore.newAttachment(String, Map). - NoBleCentralPermission - Enum constant in enum class com.ditto.java.DittoTransportCondition
- NoBleHardware - Enum constant in enum class com.ditto.java.DittoTransportCondition
- NoBlePeripheralPermission - Enum constant in enum class com.ditto.java.DittoTransportCondition
- NoIdPresentInDocument() - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.NoIdPresentInDocument
-
Creates an instance of a
NoIdPresentInDocumentrecord class. - NonStringKeyInDocument(byte[]) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.NonStringKeyInDocument
-
Creates an instance of a
NonStringKeyInDocumentrecord class. - NotActivatedError(String) - Constructor for record class com.ditto.java.DittoError.ActivationErrorReason.NotActivatedError
-
Creates an instance of a
NotActivatedErrorrecord class. - NotAMap() - Constructor for record class com.ditto.java.DittoError.ValidationErrorReason.NotAMap
-
Creates an instance of a
NotAMaprecord class. - NotJsonCompatible(String) - Constructor for record class com.ditto.java.DittoError.ValidationErrorReason.NotJsonCompatible
-
Creates an instance of a
NotJsonCompatiblerecord class.
O
- observe() - Method in interface com.ditto.java.DittoPresence
- observe(DittoDiskUsageCallback) - Method in interface com.ditto.java.DittoDiskUsage
-
Observe disk usage using a lambda expression.
- observe(DittoPresence.PresenceGraphChangedListener) - Method in interface com.ditto.java.DittoPresence
-
Request information about Ditto peers in the local peer-to-peer network.
- observeStatus() - Method in interface com.ditto.java.DittoAuthenticator
- observeStatus(DittoAuthenticator.StatusListener) - Method in interface com.ditto.java.DittoAuthenticator
- OfflinePlayground() - Constructor for class com.ditto.java.DittoIdentity.OfflinePlayground
-
Constructs an
DittoIdentity.OfflinePlaygroundidentity without both site and app identifiers. - OfflinePlayground(String) - Constructor for class com.ditto.java.DittoIdentity.OfflinePlayground
-
Constructs an
DittoIdentity.OfflinePlaygroundidentity without a site identifier. - OfflinePlayground(String, BigInteger) - Constructor for class com.ditto.java.DittoIdentity.OfflinePlayground
-
Constructs an
DittoIdentity.OfflinePlaygroundidentity. - Ok - Enum constant in enum class com.ditto.java.DittoTransportCondition
- onAuthenticationExpiringSoon(DittoAuthenticator, long) - Method in interface com.ditto.java.DittoAuthenticationCallback
-
Warns that the Ditto authentication token is getting old.
- onAuthenticationRequired(DittoAuthenticator) - Method in interface com.ditto.java.DittoAuthenticationCallback
-
There is no Ditto authentication token or it has expired.
- onAuthenticationStatusDidChange(DittoAuthenticator) - Method in interface com.ditto.java.DittoAuthenticationCallback
-
Notifies the callback object that the authentication status did change.
- onChange(DittoQueryResult) - Method in interface com.ditto.java.DittoChangeListener
- onChange(DittoQueryResult, DittoSignalNext) - Method in interface com.ditto.java.DittoChangeListenerWithNextSignal
- onFetchEvent(DittoAttachmentFetchEvent) - Method in interface com.ditto.java.DittoAttachmentFetchEventHandler
- onGraphChanged(DittoPresenceGraph) - Method in interface com.ditto.java.DittoPresence.PresenceGraphChangedListener
- OnlinePlayground(String, String) - Constructor for class com.ditto.java.DittoIdentity.OnlinePlayground
-
Constructs an
DittoIdentity.OnlinePlaygroundidentity with Ditto Cloud sync enabled and without a custom auth URL. - OnlinePlayground(String, String, boolean) - Constructor for class com.ditto.java.DittoIdentity.OnlinePlayground
-
Constructs an
DittoIdentity.OnlinePlaygroundidentity without a custom auth URL. - OnlinePlayground(String, String, boolean, String) - Constructor for class com.ditto.java.DittoIdentity.OnlinePlayground
-
Constructs an
DittoIdentity.OnlinePlaygroundidentity. - OnlineWithAuthentication(String, DittoAuthenticationCallback) - Constructor for class com.ditto.java.DittoIdentity.OnlineWithAuthentication
-
Constructs an
DittoIdentity.OnlineWithAuthenticationidentity with Ditto Cloud sync enabled and without a custom auth URL. - OnlineWithAuthentication(String, DittoAuthenticationCallback, boolean) - Constructor for class com.ditto.java.DittoIdentity.OnlineWithAuthentication
-
Constructs an
DittoIdentity.OnlineWithAuthenticationidentity without a custom auth URL. - OnlineWithAuthentication(String, DittoAuthenticationCallback, boolean, String) - Constructor for class com.ditto.java.DittoIdentity.OnlineWithAuthentication
-
Constructs an
DittoIdentity.OnlineWithAuthenticationidentity. - onStatusChanged(DittoAuthenticationStatus) - Method in interface com.ditto.java.DittoAuthenticator.StatusListener
- onTransportConditionDidChange(DittoTransportCondition, DittoConditionSource) - Method in interface com.ditto.java.DittoTransportConditionChangedCallback
- onUpdate(DittoDiskUsageItem) - Method in interface com.ditto.java.DittoDiskUsageCallback
P
- P2PWIFI - Enum constant in enum class com.ditto.java.DittoConnectionType
-
Either Wi-Fi Aware or Wi-Fi Direct transports
- path() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToGetDocumentData
-
Returns the value of the
pathrecord component. - path() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToGetDocumentIDData
-
Returns the value of the
pathrecord component. - peerToPeer() - Method in class com.ditto.java.transports.DittoTransportConfig.Builder
- peerToPeer(DittoTransportConfig.Builder.UpdatePeerToPeerConfig) - Method in class com.ditto.java.transports.DittoTransportConfig.Builder
- port() - Method in interface com.ditto.java.transports.DittoHttpListenConfig.Builder
- port() - Method in interface com.ditto.java.transports.DittoTcpListenConfig.Builder
- port(int) - Method in interface com.ditto.java.transports.DittoHttpListenConfig.Builder
- port(int) - Method in interface com.ditto.java.transports.DittoTcpListenConfig.Builder
- PROGRESS - Enum constant in enum class com.ditto.java.DittoAttachmentFetchEventType
Q
- query() - Method in record class com.ditto.java.DittoError.StoreErrorReason.QueryCompilationFailed
-
Returns the value of the
queryrecord component. - QueryArgumentsInvalid() - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.QueryArgumentsInvalid
-
Creates an instance of a
QueryArgumentsInvalidrecord class. - QueryCompilationFailed(String) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.QueryCompilationFailed
-
Creates an instance of a
QueryCompilationFailedrecord class. - QueryError(String) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.QueryError
-
Creates an instance of a
QueryErrorrecord class. - QueryInvalid(String) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.QueryInvalid
-
Creates an instance of a
QueryInvalidrecord class. - QueryNotSupported(String) - Constructor for record class com.ditto.java.DittoError.StoreErrorReason.QueryNotSupported
-
Creates an instance of a
QueryNotSupportedrecord class.
R
- refreshPermissions() - Method in interface com.ditto.java.Ditto
- registerObserver(String, DittoChangeListener) - Method in interface com.ditto.java.DittoStore
-
Convenience method, same as
DittoStore.registerObserver(java.lang.String, com.ditto.java.DittoChangeListener)wheresignalNextis called automatically after thechangeHandlerfinishes. - registerObserver(String, DittoChangeListenerWithNextSignal) - Method in interface com.ditto.java.DittoStore
-
Installs and returns a store observer for a query, configuring Ditto to trigger the passed in change handler whenever documents in the local store change such that the result of the matching query changes.
- registerObserver(String, Map<String, ?>, DittoChangeListener) - Method in interface com.ditto.java.DittoStore
-
Convenience method, same as
DittoStore.registerObserver(java.lang.String, com.ditto.java.DittoChangeListener)wheresignalNextis called automatically after thechangeHandlerfinishes. - registerObserver(String, Map<String, ?>, DittoChangeListenerWithNextSignal) - Method in interface com.ditto.java.DittoStore
-
Installs and returns a store observer for a query, configuring Ditto to trigger the passed in change handler whenever documents in the local store change such that the result of the matching query changes.
- registerSubscription(String) - Method in interface com.ditto.java.DittoSync
-
Installs and returns a sync subscription for a query, configuring Ditto to receive updates from other peers for documents matching that query.
- registerSubscription(String, Map<String, Object>) - Method in interface com.ditto.java.DittoSync
-
Installs and returns a sync subscription for a query, configuring Ditto to receive updates from other peers for documents matching that query.
- retryIntervalMs() - Method in interface com.ditto.java.transports.DittoConnect.Builder
- retryIntervalMs(long) - Method in interface com.ditto.java.transports.DittoConnect.Builder
- routingHint() - Method in interface com.ditto.java.transports.DittoGlobalConfig.Builder
- routingHint(DittoUInt) - Method in interface com.ditto.java.transports.DittoGlobalConfig.Builder
- runCleanup(Ditto) - Method in interface com.ditto.java.DittoAuthenticator.LogoutCleanup
- runGarbageCollection() - Method in interface com.ditto.java.Ditto
-
Removes all sync metadata for any remote peers which aren't currently connected.
S
- serializeToJson() - Method in interface com.ditto.java.DittoPresenceGraph
-
Generates a JSON representation of the presence graph.
- setCallback(DittoTransportConditionChangedCallback) - Method in interface com.ditto.java.Ditto
-
An optional callback that will be called with lifecycle events relating to the SDK.
- setConnectionRequestHandler(DittoPresence.ConnectionRequestHandler) - Method in interface com.ditto.java.DittoPresence
- setCoreExceptionBridgingEnabled(boolean) - Method in class com.ditto.java.Ditto.Builder
-
Experimental: Do not use unless advised to.
- setCustomLogCallback(DittoLogCallback) - Static method in class com.ditto.java.DittoLogger
-
Registers a callback for a fully customizable way of handling log "events" from the logger (on top of logging to the console, and to a file, if any).
- setDeviceName(String) - Method in interface com.ditto.java.Ditto
-
Configure a custom identifier for this peer.
- setEmojiLogLevelHeadingsEnabled(boolean) - Static method in class com.ditto.java.DittoLogger
-
Set whether logging levels are signified using emoji headings or classic words.
- setEnabled(boolean) - Static method in class com.ditto.java.DittoLogger
-
Set whether logging is enabled.
- setFallible(boolean) - Method in class com.ditto.java.Ditto.Builder
-
Experimental: Do not use unless advised to.
- setIdentity(DittoIdentity) - Method in class com.ditto.java.Ditto.Builder
-
Set a
DittoIdentityto be used by the constructedDittoinstance. - setLogDecorator(DittoLogDecorator) - Static method in class com.ditto.java.DittoLog
- setLogFile(String) - Static method in class com.ditto.java.DittoLogger
-
Registers a file path where logs will be written to, whenever Ditto wants to issue a log (on top of emitting the log to the console).
- setMetadata(Map<String, ?>) - Method in interface com.ditto.java.DittoSmallPeerInfo
- setMetadataJsonString(String) - Method in interface com.ditto.java.DittoSmallPeerInfo
- setMinimumLogLevel(DittoLogLevel) - Static method in class com.ditto.java.DittoLogger
-
Set the minimum log level at which logs will be logged, provided
DittoLogger.isEnabled()istrue. - setOfflineOnlyLicenseToken(String) - Method in interface com.ditto.java.Ditto
-
Activate an offline
Dittoinstance by setting a license token. - setPeerMetadata(Map<String, ?>) - Method in interface com.ditto.java.DittoPresence
- setPeerMetadataJsonString(String) - Method in interface com.ditto.java.DittoPresence
- setSyncScope(DittoSmallPeerInfoSyncScope) - Method in interface com.ditto.java.DittoSmallPeerInfo
- setTcpServers(String...) - Method in interface com.ditto.java.transports.DittoConnect.Builder
- setTcpServers(Collection<String>) - Method in interface com.ditto.java.transports.DittoConnect.Builder
- setTransportConfig(DittoTransportConfig) - Method in interface com.ditto.java.Ditto
-
Assign a new transports configuration.
- setValue(Object) - Method in interface com.ditto.java.DittoMutableRegister
- setWebsocketUrls(String...) - Method in interface com.ditto.java.transports.DittoConnect.Builder
- setWebsocketUrls(Collection<String>) - Method in interface com.ditto.java.transports.DittoConnect.Builder
- SharedKey(String, String) - Constructor for class com.ditto.java.DittoIdentity.SharedKey
-
Constructs a
DittoIdentity.SharedKeyidentity without a site identifier. - SharedKey(String, String, BigInteger) - Constructor for class com.ditto.java.DittoIdentity.SharedKey
-
Constructs a
DittoIdentity.SharedKeyidentity. - signal() - Method in interface com.ditto.java.DittoSignalNext
- SizeLimitExceeded() - Constructor for record class com.ditto.java.DittoError.ValidationErrorReason.SizeLimitExceeded
-
Creates an instance of a
SizeLimitExceededrecord class. - startSync() - Method in interface com.ditto.java.Ditto
-
Starts the network transports.
- staticContentPath() - Method in interface com.ditto.java.transports.DittoHttpListenConfig.Builder
- staticContentPath(String) - Method in interface com.ditto.java.transports.DittoHttpListenConfig.Builder
- stopSync() - Method in interface com.ditto.java.Ditto
-
Stops all network transports.
- SYMLINK - Enum constant in enum class com.ditto.java.DittoFileSystemType
- syncGroup() - Method in interface com.ditto.java.transports.DittoGlobalConfig.Builder
- syncGroup(DittoUInt) - Method in interface com.ditto.java.transports.DittoGlobalConfig.Builder
T
- tcp() - Method in interface com.ditto.java.transports.DittoListen.Builder
- tcp(DittoListen.Builder.UpdateTcpListenConfig) - Method in interface com.ditto.java.transports.DittoListen.Builder
- Tcp - Enum constant in enum class com.ditto.java.DittoConditionSource
- TcpListenFailure - Enum constant in enum class com.ditto.java.DittoTransportCondition
- tcpServers() - Method in interface com.ditto.java.transports.DittoConnect.Builder
- TemporarilyUnavailable - Enum constant in enum class com.ditto.java.DittoTransportCondition
- tlsCertificatePath() - Method in interface com.ditto.java.transports.DittoHttpListenConfig.Builder
- tlsCertificatePath(String) - Method in interface com.ditto.java.transports.DittoHttpListenConfig.Builder
- tlsKeyPath() - Method in interface com.ditto.java.transports.DittoHttpListenConfig.Builder
- tlsKeyPath(String) - Method in interface com.ditto.java.transports.DittoHttpListenConfig.Builder
- toBigInteger() - Method in interface com.ditto.java.DittoULong
-
Creates a new BigInteger instance with the value of this UInt.
- toDebugString() - Method in interface com.ditto.java.DittoDocumentId
- toIntData() - Method in interface com.ditto.java.DittoUInt
-
Returns the underlying 32 bits of data represented as Java itnt value.
- toLong() - Method in interface com.ditto.java.DittoUInt
-
Returns the UInt represented as long.
- toLongData() - Method in interface com.ditto.java.DittoULong
-
Returns the underlying 64 bits of data represented as Java long value.
- toString() - Method in record class com.ditto.java.DittoAuthenticator.LoginResult
-
Returns a string representation of this record class.
- toString() - Method in interface com.ditto.java.DittoDocumentId
-
Returns a stringified representation of a document identifier.
- toString() - Method in record class com.ditto.java.DittoError.ActivationErrorReason.LicenseTokenExpired
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.ActivationErrorReason.LicenseTokenUnsupportedFutureVersion
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.ActivationErrorReason.LicenseTokenVerificationFailed
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.ActivationErrorReason.NotActivatedError
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.AuthenticationErrorReason.FailedToAuthenticate
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.IoErrorReason.IoAlreadyExists
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.IoErrorReason.IoNotFound
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.IoErrorReason.IoOperationFailed
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.IoErrorReason.IoPermissionDenied
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.PresenceErrorReason.FailedToDecodeJson
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.PresenceErrorReason.FailedToEncodeJson
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentCopyTargetAlreadyExists
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentDataRetrievalError
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentFileCopyError
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentFileNotFound
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentFilePermissionDenied
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentNotFound
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.AttachmentTokenInvalid
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.BackendError
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.CrdtError
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.DocumentContentEncodingFailed
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.DocumentNotFound
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToCopyAttachment
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToCreateAttachment
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeCounter
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeData
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeDocument
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToDecodeValue
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToEncodeValue
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToFetchAttachment
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToGetDocumentData
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToGetDocumentIDData
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToInitializeDittoDirectory
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.InvalidCrdtType
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.InvalidDocumentStructure
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.InvalidLiveQueryId
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.InvalidValueForCrdt
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.NoIdPresentInDocument
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.NonStringKeyInDocument
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.QueryArgumentsInvalid
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.QueryCompilationFailed
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.QueryError
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.QueryInvalid
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.StoreErrorReason.QueryNotSupported
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.TransportErrorReason.FailedToDecodeTransportDiagnostics
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.TransportErrorReason.IncorrectPlatformTransportConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.Base64Invalid
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.DepthLimitExceeded
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.InternalSubsystemUnavailable
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.InvalidCbor
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.InvalidJson
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.MissingKey
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.NotAMap
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.NotJsonCompatible
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.SizeLimitExceeded
-
Returns a string representation of this record class.
- toString() - Method in record class com.ditto.java.DittoError.ValidationErrorReason.UnknownSyncScope
-
Returns a string representation of this record class.
U
- Unknown - Enum constant in enum class com.ditto.java.DittoTransportCondition
- UnknownSyncScope(String) - Constructor for record class com.ditto.java.DittoError.ValidationErrorReason.UnknownSyncScope
-
Creates an instance of a
UnknownSyncScoperecord class. - unsetCustomLogCallback() - Static method in class com.ditto.java.DittoLogger
-
Unregisters the currently registered callback (if any)
- update(DittoBluetoothLeConfig.Builder) - Method in interface com.ditto.java.transports.DittoPeerToPeer.Builder.UpdateBluetoothLeConfig
- update(DittoConnect.Builder) - Method in interface com.ditto.java.transports.DittoTransportConfig.Builder.UpdateConnectConfig
- update(DittoGlobalConfig.Builder) - Method in interface com.ditto.java.transports.DittoTransportConfig.Builder.UpdateGlobalConfig
- update(DittoHttpListenConfig.Builder) - Method in interface com.ditto.java.transports.DittoListen.Builder.UpdateHttpListenConfig
- update(DittoLanConfig.Builder) - Method in interface com.ditto.java.transports.DittoPeerToPeer.Builder.UpdateLanConfig
- update(DittoListen.Builder) - Method in interface com.ditto.java.transports.DittoTransportConfig.Builder.UpdateListenConfig
- update(DittoPeerToPeer.Builder) - Method in interface com.ditto.java.transports.DittoTransportConfig.Builder.UpdatePeerToPeerConfig
- update(DittoTcpListenConfig.Builder) - Method in interface com.ditto.java.transports.DittoListen.Builder.UpdateTcpListenConfig
- update(DittoWifiAwareConfig.Builder) - Method in interface com.ditto.java.transports.DittoPeerToPeer.Builder.UpdateWifiAwareConfig
- updateTransportConfig(Ditto.UpdateTransportConfig) - Method in interface com.ditto.java.Ditto
-
Convenience method to update the current transport config of the receiver.
- updateTransportConfig(DittoTransportConfig.Builder) - Method in interface com.ditto.java.Ditto.UpdateTransportConfig
V
- v(String, Object) - Static method in class com.ditto.java.DittoLog
- v(String, Object, Throwable) - Static method in class com.ditto.java.DittoLog
- value() - Method in record class com.ditto.java.DittoError.StoreErrorReason.FailedToEncodeValue
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class com.ditto.java.DittoAttachmentFetchEventType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.ditto.java.DittoConditionSource
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.ditto.java.DittoConnectionRequestAuthorization
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.ditto.java.DittoConnectionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.ditto.java.DittoFileSystemType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.ditto.java.DittoLogLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.ditto.java.DittoSmallPeerInfoSyncScope
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.ditto.java.DittoTransportCondition
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.ditto.java.transports.DittoAdvertisementFrequency
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.ditto.java.transports.DittoAdvertisementPower
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.ditto.java.DittoAttachmentFetchEventType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.ditto.java.DittoConditionSource
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.ditto.java.DittoConnectionRequestAuthorization
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.ditto.java.DittoConnectionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.ditto.java.DittoFileSystemType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.ditto.java.DittoLogLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.ditto.java.DittoSmallPeerInfoSyncScope
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.ditto.java.DittoTransportCondition
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.ditto.java.transports.DittoAdvertisementFrequency
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.ditto.java.transports.DittoAdvertisementPower
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERBOSE - Enum constant in enum class com.ditto.java.DittoLogLevel
- VERSION - Static variable in interface com.ditto.java.Ditto
-
Current version of the Ditto SDK.
- VERY_LOW - Enum constant in enum class com.ditto.java.transports.DittoAdvertisementPower
W
- w(String, Object) - Static method in class com.ditto.java.DittoLog
- w(String, Object, Throwable) - Static method in class com.ditto.java.DittoLog
- WARNING - Enum constant in enum class com.ditto.java.DittoLogLevel
- WEBSOCKET - Enum constant in enum class com.ditto.java.DittoConnectionType
-
WebSocket connection to a remote server
- websocketUrls() - Method in interface com.ditto.java.transports.DittoConnect.Builder
- wifiAware() - Method in interface com.ditto.java.transports.DittoPeerToPeer.Builder
- wifiAware(DittoPeerToPeer.Builder.UpdateWifiAwareConfig) - Method in interface com.ditto.java.transports.DittoPeerToPeer.Builder
- WifiDisabled - Enum constant in enum class com.ditto.java.DittoTransportCondition
Z
- zero() - Static method in interface com.ditto.java.DittoCounter
-
Creates a counter with a non-zero staring value.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form