HAConnectionState

public enum HAConnectionState : Equatable

State of the connection

  • Notification fired when state transitions occur

    The object of the notification will be the connection. UserInfo will be nil. Notification fires on NotificationCenter.default.

    Declaration

    Swift

    public static var didTransitionToStateNotification: Notification.Name { get }
  • Reason for disconnection state

    See more

    Declaration

    Swift

    public enum DisconnectReason : Equatable
  • Not connected

    See also

    DisconnectReason

    Declaration

    Swift

    case disconnected(reason: DisconnectReason)
  • Connection is actively being attempted

    Declaration

    Swift

    case connecting
  • Connection established, getting/sending authentication details

    Declaration

    Swift

    case authenticating
  • The connection has been made and can process commands

    Declaration

    Swift

    case ready(version: String)