IRequestStatusReport

Status report contract

Inheritors

Functions

Link copied to clipboard
abstract fun getErrorFor(type: Request.Type): RequestError?

Returns the error for the given request type.

Link copied to clipboard
abstract fun getType(): Request.Type

Returns the current request type.

Link copied to clipboard
abstract fun hasError(): Boolean

Convenience method to check if there are any requests that resulted in an error.

Link copied to clipboard
abstract fun hasIdle(): Boolean

Convenience method to check if there are any idle requests.

Link copied to clipboard
abstract fun hasRunning(): Boolean

Convenience method to check if there are any running requests.

Link copied to clipboard
abstract fun hasSuccess(): Boolean

Convenience method to check if there are any requests that resulted in success.