LiveLike Android SDK
Toggle table of contents
3.0.28-alpha.1
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
LiveLike Android SDK
livelike-core:utils
/
com.livelike.utils
/
Result
Result
sealed
class
Result
<
out
T
:
Any
>
A generic class that holds a value with its loading status.
Parameters
Inheritors
Success
Error
Members
Constructors
Result
Link copied to clipboard
protected
constructor
(
)
Types
Error
Link copied to clipboard
data
class
Error
(
val
exception
:
Exception
)
:
Result
<
Nothing
>
Success
Link copied to clipboard
data
class
Success
<
out
T
:
Any
>
(
val
data
:
T
)
:
Result
<
T
>
Functions
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String