# InputTypeEnum

    enum InputTypeEnum

Types of input.
- `


  ### [internal](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/MediaInputTrait/InputTypeEnum#/s:15GoogleHomeTypes6MatterO15MediaInputTraitV0F8TypeEnumO8internalyA2GmF)


  ` An internal, virtual input, as opposed to a physical input.

  #### Declaration

  Swift

      case `internal`

- `


  ### [aux](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/MediaInputTrait/InputTypeEnum#/s:15GoogleHomeTypes6MatterO15MediaInputTraitV0F8TypeEnumO3auxyA2GmF)


  ` Auxiliary input.

  #### Declaration

  Swift

      case aux

- `


  ### [coax](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/MediaInputTrait/InputTypeEnum#/s:15GoogleHomeTypes6MatterO15MediaInputTraitV0F8TypeEnumO4coaxyA2GmF)


  ` Coaxial input.

  #### Declaration

  Swift

      case coax

- `


  ### [composite](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/MediaInputTrait/InputTypeEnum#/s:15GoogleHomeTypes6MatterO15MediaInputTraitV0F8TypeEnumO9compositeyA2GmF)


  ` Composite input.

  #### Declaration

  Swift

      case composite

- `


  ### [hdmi](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/MediaInputTrait/InputTypeEnum#/s:15GoogleHomeTypes6MatterO15MediaInputTraitV0F8TypeEnumO4hdmiyA2GmF)


  ` HDMI input.

  #### Declaration

  Swift

      case hdmi

- `


  ### [input](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/MediaInputTrait/InputTypeEnum#/s:15GoogleHomeTypes6MatterO15MediaInputTraitV0F8TypeEnumO5inputyA2GmF)


  ` A generic type of input.

  #### Declaration

  Swift

      case input

- `


  ### [line](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/MediaInputTrait/InputTypeEnum#/s:15GoogleHomeTypes6MatterO15MediaInputTraitV0F8TypeEnumO4lineyA2GmF)


  ` Line input.

  #### Declaration

  Swift

      case line

- `


  ### [optical](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/MediaInputTrait/InputTypeEnum#/s:15GoogleHomeTypes6MatterO15MediaInputTraitV0F8TypeEnumO7opticalyA2GmF)


  ` Optical input.

  #### Declaration

  Swift

      case optical

- `


  ### [video](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/MediaInputTrait/InputTypeEnum#/s:15GoogleHomeTypes6MatterO15MediaInputTraitV0F8TypeEnumO5videoyA2GmF)


  ` Video input.

  #### Declaration

  Swift

      case video

- `


  ### [scart](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/MediaInputTrait/InputTypeEnum#/s:15GoogleHomeTypes6MatterO15MediaInputTraitV0F8TypeEnumO5scartyA2GmF)


  ` SCART input.

  #### Declaration

  Swift

      case scart

- `


  ### [usb](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/MediaInputTrait/InputTypeEnum#/s:15GoogleHomeTypes6MatterO15MediaInputTraitV0F8TypeEnumO3usbyA2GmF)


  ` USB input.

  #### Declaration

  Swift

      case usb

- `


  ### [other](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/MediaInputTrait/InputTypeEnum#/s:15GoogleHomeTypes6MatterO15MediaInputTraitV0F8TypeEnumO5otheryA2GmF)


  ` Other input.

  #### Declaration

  Swift

      case other

- `


  ### [init(rawValue:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/MediaInputTrait/InputTypeEnum#/s:15GoogleHomeTypes6MatterO15MediaInputTraitV0F8TypeEnumO8rawValueAGSgs6UInt64V_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. |