Availability

public struct Availability : Decodable

Status as determined by Cumulocity

  • Determines if cumulocity thinks that the device is available based on data received from the device via its agent. The responseInterval in requiredAvailability with have to be a non negative integer, otherwise this return MAINTENANCE

    Declaration

    Swift

    public let status: AvailabilityStatus
  • Last recorded update received by cumulocity from the device/agent

    Declaration

    Swift

    public let lastMessage: Date
  • Undocumented

    Declaration

    Swift

    public init()
  • Undocumented

    Declaration

    Swift

    public init(status: AvailabilityStatus, lastMessage: Date)