    enum MatterSuggestedUserAction

    extension MatterSuggestedUserAction : CaseIterable, Equatable, Hashable, RawRepresentable, Sendable, SendableMetatype

Suggested user actions to potentially resolve a commissioning failure.
- `


  ### [checkHubAvailability](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/MatterSuggestedUserAction#/s:13GoogleHomeSDK25MatterSuggestedUserActionO20checkHubAvailabilityyA2CmF)


  ` Check if an hub is present and online. The presence of an hub is required for commissioning.
  It serves as both the Google fabric handler and, if necessary, thread boarder router.

  #### Declaration

  Swift

      case checkHubAvailability

- `


  ### [checkWifiNetwork](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/MatterSuggestedUserAction#/s:13GoogleHomeSDK25MatterSuggestedUserActionO16checkWifiNetworkyA2CmF)


  ` Check if the phone is connected to the same wifi network as the hub.

  #### Declaration

  Swift

      case checkWifiNetwork

- `


  ### [checkDeviceAvailability](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/MatterSuggestedUserAction#/s:13GoogleHomeSDK25MatterSuggestedUserActionO23checkDeviceAvailabilityyA2CmF)


  ` Check if the device available, e.g. make sure it is turned on or plugged in.

  #### Declaration

  Swift

      case checkDeviceAvailability

- `


  ### [factoryResetDevice](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/MatterSuggestedUserAction#/s:13GoogleHomeSDK25MatterSuggestedUserActionO18factoryResetDeviceyA2CmF)


  ` Factory reset the device being commissioned.

  #### Declaration

  Swift

      case factoryResetDevice

- `


  ### [tryAgainLater](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/MatterSuggestedUserAction#/s:13GoogleHomeSDK25MatterSuggestedUserActionO13tryAgainLateryA2CmF)


  ` Try again later without.

  #### Declaration

  Swift

      case tryAgainLater

- `


  ### [defaultActions](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/MatterSuggestedUserAction#/s:13GoogleHomeSDK25MatterSuggestedUserActionO14defaultActionsSayACGvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let defaultActions: [MatterSuggestedUserAction]

- `


  ### [init(rawValue:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/MatterSuggestedUserAction#/s:13GoogleHomeSDK25MatterSuggestedUserActionO8rawValueACSgSS_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: String)

  #### Parameters

  |---|---|
  | ` rawValue ` | The raw value to use for the new instance. |