DlStatus

enum DlStatus

Door lock statuses.

  • The operation was successful.

    Declaration

    Swift

    case success
  • The operation failed.

    Declaration

    Swift

    case failure
  • The provided credential is a duplicate of an existing entry.

    Declaration

    Swift

    case duplicate
  • The provided User ID, Credential ID, or entry location is already occupied. The entry might need to be deleted or a different ID or location chosen.

    Declaration

    Swift

    case occupied
  • The operation failed due to its referring to an invalid field.

    Declaration

    Swift

    case invalidField
  • The operation failed because a resource has been exhausted.

    Declaration

    Swift

    case resourceExhausted
  • The operation failed because the specified resource was not found.

    Declaration

    Swift

    case notFound
  • Creates a new instance with the specified raw value.

    If there is no value of the type that corresponds with the specified raw value, this initializer returns nil. For example:

    enum PaperSize: String {
        case A4, A5, Letter, Legal
    }
    
    print(PaperSize(rawValue: "Legal"))
    // Prints "Optional("PaperSize.Legal")"
    
    print(PaperSize(rawValue: "Tabloid"))
    // Prints "nil"
    

    Declaration

    Swift

    init?(rawValue: UInt64)

    Parameters

    rawValue

    The raw value to use for the new instance.