State

public enum State : Equatable, CustomStringConvertible

VoiceSDK object state

  • The SDK is inactive (internal components are not initialized)

    Declaration

    Swift

    case inactive
  • The SDK is in transition from inactive to active state (initializing the internal components)

    Declaration

    Swift

    case activating(((Result<Void, ErrorType>) -> Void)?)
  • The SDK is active (ready to process the calls)

    Declaration

    Swift

    case active
  • The SDK is in transition from active to inactive state

    Declaration

    Swift

    case deactivating
  • The string representation of the state

    Declaration

    Swift

    public var description: String { get }
  • Declaration

    Swift

    public static func == (lhs: State, rhs: State) -> Bool