ExpoFpPlanStatus

sealed class ExpoFpPlanStatus

Status of a plan during its life cycle.

Inheritors

Types

Link copied to clipboard
data class Error(val error: ExpoFpError) : ExpoFpPlanStatus

Error loading or evaluating the plan.

Link copied to clipboard

Plan is unfolding and preparing to interact.

Link copied to clipboard
data class Loading(val percentage: Int) : ExpoFpPlanStatus

Plan load percentage.

Link copied to clipboard

Plan loaded successfully and ready to interact.

Properties

Link copied to clipboard

Indicates that the plan is in an Error state, regardless of the error type.

Link copied to clipboard

Indicates that the plan is in an Initialization state.

Link copied to clipboard

Indicates that the plan is in a Ready state.

Link copied to clipboard

If the plan is loading, returns percentage progress, otherwise null.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun isLoading(progress: Int? = null): Boolean

Indicates that the plan is in a Loading state.

Link copied to clipboard
open override fun toString(): String

A textual representation of this instance.