SDK
SDK
/
com.ciscowebex.androidsdk
/
Result
Result
interface
Result
<
T
>
Content copied to clipboard
Service request results.
Functions
Functions
get
Data
Link copied to clipboard
abstract
fun
getData
(
)
:
T
Content copied to clipboard
Returns the associated data if the result is a success, `null` otherwise.
get
Error
Link copied to clipboard
abstract
fun
getError
(
)
:
WebexError
Content copied to clipboard
Returns the associated error value if the result is a failure, null otherwise.
is
Successful
Link copied to clipboard
abstract
fun
isSuccessful
(
)
:
Boolean
Content copied to clipboard
Returns true if the result is a success, false otherwise