    enum UpdateStateEnum

The state of an OTA update.
- `


  ### [unknown](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/OtaSoftwareUpdateRequestorTrait/UpdateStateEnum#/s:15GoogleHomeTypes6MatterO31OtaSoftwareUpdateRequestorTraitV0G9StateEnumO7unknownyA2GmF)


  ` The current state is unknown.

  #### Declaration

  Swift

      case unknown

- `


  ### [idle](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/OtaSoftwareUpdateRequestorTrait/UpdateStateEnum#/s:15GoogleHomeTypes6MatterO31OtaSoftwareUpdateRequestorTraitV0G9StateEnumO4idleyA2GmF)


  ` The node is not yet in the process of software update.

  #### Declaration

  Swift

      case idle

- `


  ### [querying](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/OtaSoftwareUpdateRequestorTrait/UpdateStateEnum#/s:15GoogleHomeTypes6MatterO31OtaSoftwareUpdateRequestorTraitV0G9StateEnumO8queryingyA2GmF)


  ` The node is in the process of querying an OTA provider.

  #### Declaration

  Swift

      case querying

- `


  ### [delayedOnQuery](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/OtaSoftwareUpdateRequestorTrait/UpdateStateEnum#/s:15GoogleHomeTypes6MatterO31OtaSoftwareUpdateRequestorTraitV0G9StateEnumO14delayedOnQueryyA2GmF)


  ` The node is waiting after a Busy response.

  #### Declaration

  Swift

      case delayedOnQuery

- `


  ### [downloading](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/OtaSoftwareUpdateRequestorTrait/UpdateStateEnum#/s:15GoogleHomeTypes6MatterO31OtaSoftwareUpdateRequestorTraitV0G9StateEnumO11downloadingyA2GmF)


  ` The node is in the process of downloading a software update.

  #### Declaration

  Swift

      case downloading

- `


  ### [applying](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/OtaSoftwareUpdateRequestorTrait/UpdateStateEnum#/s:15GoogleHomeTypes6MatterO31OtaSoftwareUpdateRequestorTraitV0G9StateEnumO8applyingyA2GmF)


  ` The node is in the process of verifying and applying a software update.

  #### Declaration

  Swift

      case applying

- `


  ### [delayedOnApply](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/OtaSoftwareUpdateRequestorTrait/UpdateStateEnum#/s:15GoogleHomeTypes6MatterO31OtaSoftwareUpdateRequestorTraitV0G9StateEnumO14delayedOnApplyyA2GmF)


  ` The node is waiting due to an `AwaitNextAction` response.

  #### Declaration

  Swift

      case delayedOnApply

- `


  ### [rollingBack](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/OtaSoftwareUpdateRequestorTrait/UpdateStateEnum#/s:15GoogleHomeTypes6MatterO31OtaSoftwareUpdateRequestorTraitV0G9StateEnumO11rollingBackyA2GmF)


  ` The node is recovering to a previous version.

  #### Declaration

  Swift

      case rollingBack

- `


  ### [delayedOnUserConsent](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/OtaSoftwareUpdateRequestorTrait/UpdateStateEnum#/s:15GoogleHomeTypes6MatterO31OtaSoftwareUpdateRequestorTraitV0G9StateEnumO20delayedOnUserConsentyA2GmF)


  ` The node is waiting on user consent.

  #### Declaration

  Swift

      case delayedOnUserConsent

- `


  ### [init(rawValue:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/OtaSoftwareUpdateRequestorTrait/UpdateStateEnum#/s:15GoogleHomeTypes6MatterO31OtaSoftwareUpdateRequestorTraitV0G9StateEnumO8rawValueAGSgs6UInt64V_tcfc)


  ` 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. |