DeviceState
@objcMembers
@objc(GSDeviceState)
public class DeviceState : NSObject
Device state information.
-
Connection state.
See moreDeclaration
Swift
@objc(GSDeviceConnectionState) public enum ConnectionState : Int, CustomStringConvertible
-
Detail on connection state cause.
See moreDeclaration
Swift
@objc(GSDeviceConnectionStateCause) public enum ConnectionStateCause : Int, CustomStringConvertible
-
Device connection state.
Declaration
Swift
public internal(set) var connectionState: DeviceState.ConnectionState { get }
-
Device connection state reason.
Declaration
Swift
public internal(set) var connectionStateCause: DeviceState.ConnectionStateCause { get }
-
Available connectors.
Declaration
Swift
public var connectors: [DeviceConnector] { get }
-
Active connector.
Declaration
Swift
public var activeConnector: DeviceConnector? { get }
-
Whether the device can be forgotten.
Declaration
Swift
public internal(set) var canBeForgotten: Bool { get }
-
Whether the device can be connected.
Declaration
Swift
public internal(set) var canBeConnected: Bool { get }
-
Whether the device can be disconnected.
Declaration
Swift
public internal(set) var canBeDisconnected: Bool { get }
-
Gets duration before shutdown.
Note
Current duration before shutdown or 0 when no shutdown is plannedDeclaration
Swift
public var durationBeforeShutDown: TimeInterval { get }
-
Debug description.
Declaration
Swift
override public var description: String { get }