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

    struct InternalReason

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

Reasons associated with `INTERNAL` (Code 13).
- `


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


  ` 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/InternalReason.md.txt#/s:13GoogleHomeSDK14InternalReasonV8rawValueACSS_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/InternalReason.md.txt#/s:13GoogleHomeSDK14InternalReasonV13stringLiteralACSS_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/InternalReason.md.txt#/s:13GoogleHomeSDK14InternalReasonV11descriptionSSvp)


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

- `


  ### [appLaunchFailed](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InternalReason.md.txt#/s:13GoogleHomeSDK14InternalReasonV15appLaunchFailedACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let appLaunchFailed: InternalReason

- `


  ### [audioOutputFault](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InternalReason.md.txt#/s:13GoogleHomeSDK14InternalReasonV16audioOutputFaultACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let audioOutputFault: InternalReason

- `


  ### [channelSwitchFailed](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InternalReason.md.txt#/s:13GoogleHomeSDK14InternalReasonV19channelSwitchFailedACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let channelSwitchFailed: InternalReason

- `


  ### [coSensorFault](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InternalReason.md.txt#/s:13GoogleHomeSDK14InternalReasonV13coSensorFaultACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let coSensorFault: InternalReason

- `


  ### [commandInsertFailed](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InternalReason.md.txt#/s:13GoogleHomeSDK14InternalReasonV19commandInsertFailedACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let commandInsertFailed: InternalReason

- `


  ### [hardError](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InternalReason.md.txt#/s:13GoogleHomeSDK14InternalReasonV9hardErrorACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let hardError: InternalReason

- `


  ### [hdmiCecError](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InternalReason.md.txt#/s:13GoogleHomeSDK14InternalReasonV12hdmiCecErrorACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let hdmiCecError: InternalReason

- `


  ### [hueBridgeV1DeprecatedError](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InternalReason.md.txt#/s:13GoogleHomeSDK14InternalReasonV26hueBridgeV1DeprecatedErrorACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let hueBridgeV1DeprecatedError: InternalReason

- `


  ### [ledSensorFault](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InternalReason.md.txt#/s:13GoogleHomeSDK14InternalReasonV14ledSensorFaultACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let ledSensorFault: InternalReason

- `


  ### [lockFailure](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InternalReason.md.txt#/s:13GoogleHomeSDK14InternalReasonV11lockFailureACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let lockFailure: InternalReason

- `


  ### [piezoFault](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InternalReason.md.txt#/s:13GoogleHomeSDK14InternalReasonV10piezoFaultACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let piezoFault: InternalReason

- `


  ### [protocolError](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InternalReason.md.txt#/s:13GoogleHomeSDK14InternalReasonV13protocolErrorACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let protocolError: InternalReason

- `


  ### [smokeSensorFault](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InternalReason.md.txt#/s:13GoogleHomeSDK14InternalReasonV16smokeSensorFaultACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let smokeSensorFault: InternalReason

- `


  ### [unexpectedErrorCheckDeviceApp](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InternalReason.md.txt#/s:13GoogleHomeSDK14InternalReasonV29unexpectedErrorCheckDeviceAppACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let unexpectedErrorCheckDeviceApp: InternalReason

- `


  ### [unlockFailure](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InternalReason.md.txt#/s:13GoogleHomeSDK14InternalReasonV13unlockFailureACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let unlockFailure: InternalReason

- `


  ### [wifiFault](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/InternalReason.md.txt#/s:13GoogleHomeSDK14InternalReasonV9wifiFaultACvpZ)


  ` Undocumented

  #### Declaration

  Swift

      static let wifiFault: InternalReason