toggle menu
headless
1.2.5
androidJvm
switch theme
search in API
headless
/
com.theminesec.sdk.headless.model
/
WrappedResult
Wrapped
Result
@
Serializable
sealed
class
WrappedResult
<
out
T
>
Serializable response for passing around processes (mainly activity).
Inheritors
Success
Failure
Members
Types
Companion
Link copied to clipboard
object
Companion
Failure
Link copied to clipboard
@
Serializable
data
class
Failure
(
val
code
:
Int
,
val
message
:
String
,
val
contextual
:
String
?
=
null
,
val
extra
:
Map
<
String
,
String
>
?
=
null
)
:
WrappedResult
<
Nothing
>
Success
Link copied to clipboard
@
Serializable
data
class
Success
<
T
>
(
val
value
:
T
)
:
WrappedResult
<
T
>