ConnectionStateCause
@objc(GSDeviceConnectionStateCause)
public enum ConnectionStateCause : Int, CustomStringConvertible
Detail on connection state cause.
-
No specific cause, valid for all states.
Declaration
Swift
case none
-
Due to an explicit user request. Valid on all states.
Declaration
Swift
case userRequest
-
Because the connection with the device has been lost. Valid in
connecting
state when trying to reconnect to the device and indisconnected
state.Declaration
Swift
case connectionLost
-
Device refused the connection because it’s already connected to a controller. Only in
disconnected
state.Declaration
Swift
case refused
-
Connection failed due to a bad password. Only in
disconnected
state, when connecting using aRemoteControl
connector.Declaration
Swift
case badPassword
-
Connection has failed. Only in
disconnected
state.Declaration
Swift
case failure
-
Debug description.
Declaration
Swift
public var description: String { get }