View on GitHub

meta-android-sdk

Render Metaverse Experiences in your own apps

MetaverseSDK / io.gometa.sdk / Result

Result

sealed class Result<out T>

Possible results that may be reported by Metaverse.

Types

Error class Error<out T> : Result<T>
Reports an error state for a pending result.
Loading data class Loading<out T> : Result<T>
Reports a loading state for a pending result.
Success data class Success<out T> : Result<T>
Reports a success state for a pending result.

Properties

isDone abstract val isDone: Boolean
Whether or not this result reports a completed operation

Inheritors

Error class Error<out T> : Result<T>
Reports an error state for a pending result.
Loading data class Loading<out T> : Result<T>
Reports a loading state for a pending result.
Success data class Success<out T> : Result<T>
Reports a success state for a pending result.