PatchableDataManager

Functions

Link copied to clipboard

Used by the SyncClient to get patches from each patchable feature. Returns a SyncPatchRequest if there are pending updates, or null if none.

Link copied to clipboard
abstract fun getType(): DeletableType

Which deletable data type this patch is for

Link copied to clipboard
abstract fun onPatchError(syncErrorResponse: SyncErrorResponse)

Called to notify that the patch request failed.

Link copied to clipboard
abstract fun onPatchSuccess(response: SyncPatchResponse)

Called to notify that the patch request was successful.

Link copied to clipboard
abstract fun onSyncDisabled()

Called when sync is disabled (user disconnects or logs out). Implementations should clear any pending state.