class RefreshResult
Result object of a call to OnlineRepository.refresh. Understand if a refresh call was successful, not successful, or skipped for some reason.
enum class SkippedReason
If a OnlineRepository.refresh task was skipped, compare the skipped property with the enum cases below to determine why the refresh task was skipped. |
|
object Testing
Used for testing purposes to create instances of OnlineCacheState. |
val failedError: Throwable? |
|
val skipped: SkippedReason? |
|
val successful: Boolean |
fun didFail(): Boolean |
|
fun didSkip(): Boolean |
|
fun didSucceed(): Boolean |
|
fun equals(other: Any?): Boolean |
|
fun hashCode(): Int |