> Documentation index: https://developers.home.google.com/reference/swift/GoogleHomeSDK/llms.txt

    struct UnknownReason

    extension UnknownReason : CustomStringConvertible, Equatable, ExpressibleByExtendedGraphemeClusterLiteral, ExpressibleByStringLiteral, ExpressibleByUnicodeScalarLiteral, Hashable, RawRepresentable, Sendable, SendableMetatype

Reasons associated with `UNKNOWN` (Code 2).
- `


  ### [rawValue](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/UnknownReason.md.txt#/s:13GoogleHomeSDK13UnknownReasonV8rawValueSSvp)


  ` The corresponding value of the raw type.

  A new instance initialized with `rawValue` will be equivalent to this
  instance. For example:

      enum PaperSize: String {
          case A4, A5, Letter, Legal
      }

      let selectedSize = PaperSize.Letter
      print(selectedSize.rawValue)
      // Prints "Letter"

      print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)
      // Prints "true"

  #### Declaration

  Swift

      let rawValue: String

- `


  ### [init(rawValue:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/UnknownReason.md.txt#/s:13GoogleHomeSDK13UnknownReasonV8rawValueACSS_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. |

- `


  ### [init(stringLiteral:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/UnknownReason.md.txt#/s:13GoogleHomeSDK13UnknownReasonV13stringLiteralACSS_tcfc)


  ` Creates an instance initialized to the given string value.

  #### Declaration

  Swift

      init(stringLiteral value: String)

- `


  ### [description](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/UnknownReason.md.txt#/s:13GoogleHomeSDK13UnknownReasonV11descriptionSSvp)


  ` A textual representation of this instance.

  Calling this property directly is discouraged. Instead, convert an
  instance of any type to a string by using the `String(describing:)`
  initializer. This initializer works with any type, and uses the custom
  `description` property for types that conform to
  `CustomStringConvertible`:

      struct Point: CustomStringConvertible {
          let x: Int, y: Int

          var description: String {
              return "(\(x), \(y))"
          }
      }

      let p = Point(x: 21, y: 30)
      let s = String(describing: p)
      print(s)
      // Prints "(21, 30)"

  The conversion of `p` to a string in the assignment to `s` uses the
  `Point` type's `description` property.

  #### Declaration

  Swift

      var description: String { get }

- `


  ### [blockedUnapproved](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/UnknownReason.md.txt#/s:13GoogleHomeSDK13UnknownReasonV17blockedUnapprovedACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let blockedUnapproved: UnknownReason

- `


  ### [unknownError](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/UnknownReason.md.txt#/s:13GoogleHomeSDK13UnknownReasonV12unknownErrorACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let unknownError: UnknownReason