setOfflineMode

abstract suspend fun setOfflineMode(offlineMode: Boolean): Result<SdkSuccessAnswer.SetOfflineMode>

Sets the offline mode status.

Return

Result which can be a Result.Success containing SdkSuccessAnswer.SetOfflineMode with the new offline status and limit if successful, or a Result.Error if the operation fails.

Parameters

offlineMode

True to enable offline mode, false otherwise.