State

public enum State: String, Codable

The state of a DeviceCommand.

  • The command is pending.

    Declaration

    Swift

    case pending = "PENDING"
  • The command is queued.

    Declaration

    Swift

    case queued = "QUEUED"
  • ack

    The command has been acknowledged.

    Declaration

    Swift

    case ack = "ACK"
  • The command was completed.

    Declaration

    Swift

    case completed = "COMPLETED"
  • The command was not acknowledged

    Declaration

    Swift

    case nack = "NACK"
  • The command completed successfully.

    Declaration

    Swift

    case successful = "SUCCESSFUL"
  • The command failed.

    Declaration

    Swift

    case failed = "FAILED"
  • The command was revoked.

    Declaration

    Swift

    case revoked = "REVOKED"