DittoTransportCondition

public enum DittoTransportCondition : UInt32, CustomStringConvertible

Describes the condition that one of the transports that Ditto uses can be in at a given point in time.

  • Undocumented

    Declaration

    Swift

    case Unknown = 0
  • Ok

    Undocumented

    Declaration

    Swift

    case Ok = 1
  • Undocumented

    Declaration

    Swift

    case GenericFailure = 2
  • Undocumented

    Declaration

    Swift

    case AppInBackground = 3
  • Undocumented

    Declaration

    Swift

    case MdnsFailure = 4
  • Undocumented

    Declaration

    Swift

    case TcpListenFailure = 5
  • Undocumented

    Declaration

    Swift

    case NoBleCentralPermission = 6
  • Undocumented

    Declaration

    Swift

    case NoBlePeripheralPermission = 7
  • Undocumented

    Declaration

    Swift

    case CannotEstablishConnection = 8
  • Undocumented

    Declaration

    Swift

    case BleDisabled = 9
  • Undocumented

    Declaration

    Swift

    case NoBleHardware = 10
  • Undocumented

    Declaration

    Swift

    case WifiDisabled = 11
  • Undocumented

    Declaration

    Swift

    case TemporarilyUnavailable = 12
  • A String representation of the condition of a transport used by Ditto.

    Declaration

    Swift

    public var description: String { get }