LiveKit Swift Client SDK Documentation

Enumeration Connection​State

public enum ConnectionState  
%247 ConnectionState ConnectionState Identifiable Identifiable ConnectionState->Identifiable Equatable Equatable ConnectionState->Equatable

Conforms To

Equatable
Identifiable

Enumeration Cases

disconnected

case disconnected(reason: DisconnectReason? = nil) 

connecting

case connecting

reconnecting

case reconnecting

connected

case connected

Properties

id

public var id: String  

is​Connected

public var isConnected: Bool  

is​Reconnecting

public var isReconnecting: Bool  

is​Disconnected

public var isDisconnected: Bool  

disconnected​With​Network​Error

public var disconnectedWithNetworkError: Error?  

disconnected​With​Error

@available(*, deprecated, renamed: "disconnectedWithNetworkError")
    public var disconnectedWithError: Error?  

Operators

==

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