Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescription
This interface is deprecated. Use the following alternatives:
- For
onAuthenticationExpiringSoon: Use
invalid reference
DittoAuthenticator.setExpirationHandler- For
onAuthenticationStatusDidChange: Use
invalid reference
DittoAuthenticator.observeStatus- For
onAuthenticationRequired: CheckDittoAuthenticationStatusfrom
invalid reference
DittoAuthenticator.observeStatusThis interface will be removed in a future major version.
- For
-
Deprecated ClassesClassDescriptionDiffing is now managed automatically by the observer when using the diff-aware overloads of
DittoStore.registerObserver(String, DittoChangeListenerWithDiff). Closing the observer automatically frees the differ's native resources, eliminating the need to manage a separateDittoDifferinstance.
-
Deprecated MethodsMethodDescriptionDiffing is now managed automatically by the observer when using the diff-aware overloads of
DittoStore.registerObserver(String, DittoChangeListenerWithDiff). Closing the observer automatically frees the differ's native resources, eliminating the need to manage a separateDittoDifferinstance.This method is deprecated. Use the following alternatives:
- For
onAuthenticationExpiringSoon: UseDittoAuthenticator.setExpirationHandler(com.ditto.java.DittoAuthenticator.@org.checkerframework.checker.nullness.qual.Nullable ExpirationHandler) - For
onAuthenticationStatusDidChange: UseDittoAuthenticator.observeStatus() - For
onAuthenticationRequired: CheckDittoAuthenticationStatusfromDittoAuthenticator.observeStatus()
NOTE: legacy callback shouldn't be used together with
DittoAuthenticator.setExpirationHandler(com.ditto.java.DittoAuthenticator.@org.checkerframework.checker.nullness.qual.Nullable ExpirationHandler).This method will be removed in a future major version.
useDittoConnectionRequest.getIdentityServiceMetadataObject()withDittoJsonSerializable.ObjectValue.toMap()on the returned value.useDittoConnectionRequest.getPeerMetadataObject()withDittoJsonSerializable.ObjectValue.toMap()on the returned value.useDittoPeer.getIdentityServiceMetadataObject()withDittoJsonSerializable.ObjectValue.toMap()on the returned value.useDittoPresence.getPeerMetadataObject()withDittoJsonSerializable.ObjectValue.toMap()on the returned value. - For