Meshtastic App
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Meshtastic App
feature-settings
/
org.meshtastic.feature.settings.radio
/
ResponseState
Response
State
common
sealed
class
ResponseState
<
out
T
>
(
source
)
Generic sealed class defines each possible state of a response.
Inheritors
Empty
Loading
Success
Error
Members
Types
Empty
Link copied to clipboard
common
data
object
Empty
:
ResponseState
<
Nothing
>
Error
Link copied to clipboard
common
data
class
Error
(
val
error
:
ERROR CLASS: Symbol not found for UiText
)
:
ResponseState
<
Nothing
>
Loading
Link copied to clipboard
common
data
class
Loading
(
var
total
:
Int
=
1
,
var
completed
:
Int
=
0
,
var
status
:
String
?
=
null
)
:
ResponseState
<
Nothing
>
Success
Link copied to clipboard
common
data
class
Success
<
T
>
(
val
result
:
T
)
:
ResponseState
<
T
>
Functions
is
Waiting
Link copied to clipboard
common
fun
isWaiting
(
)
:
Boolean