Skip to main content

ENUM

ArdkAsyncState

public enum ArdkAsyncState<Value, Error: Swift.Error>

Reports the state of an asynchronous ARDK operation.

Cases​

notReady​

case notReady

Deprecated – use inProgress instead.

inProgress(_:)​

case inProgress(Value?)

The asynchronous operation is currently in progress. The associated value may contain a partial result if available.

success(_:)​

case success(Value)

The asynchronous operation has completed successfully with a result.

failure(_:)​

case failure(Error)

The asynchronous operation has failed with an error.

Properties​

isFinished​

public var isFinished: Bool

Indicates whether the asynchronous operation has finished