nativebrik

Phases that represents the loading state

AsyncEmbeddingPhase for SwiftUI

AsyncEmbeddingPhase is an enum that represents the state of the embedding experiment loading process.

Definition
public enum AsyncEmbeddingPhase {
    case loading
    case completed(ComponentView)
    case failed(Error)
    case notFound
}
public struct ComponentView: View

EmbeddingPhase for UIKit

EmbeddingPhase is an enum that represents the state of the embedding experiment loading process.

Definition
public enum EmbeddingPhase {
    case loading
    case completed(UIView)
    case failed(Error)
    case notFound
}

RemoteConfigPhase

RemoteConfigPhase is an enum that represents the state of the remote config loading process. You can use this to get RemoteConfigVariant.

Definition
public enum RemoteConfigPhase {
    case loading
    case completed(RemoteConfigVariant)
    case failed(Error)
    case notFound
}
On this page