Meshtastic App
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
Meshtastic App
Meshtastic App
/
com.geeksville.mesh.ui.settings.radio
/
ResponseState
Response
State
sealed
class
ResponseState
<
out
T
>
Generic sealed class defines each possible state of a response.
Inheritors
Empty
Loading
Success
Error
Members
Types
Empty
Link copied to clipboard
data
object
Empty
:
ResponseState
<
Nothing
>
Error
Link copied to clipboard
data
class
Error
(
val
error
:
UiText
)
:
ResponseState
<
Nothing
>
Loading
Link copied to clipboard
data
class
Loading
(
var
total
:
Int
=
1
,
var
completed
:
Int
=
0
)
:
ResponseState
<
Nothing
>
Success
Link copied to clipboard
data
class
Success
<
T
>
(
val
result
:
T
)
:
ResponseState
<
T
>
Functions
is
Waiting
Link copied to clipboard
fun
isWaiting
(
)
:
Boolean