# StatusEnum

    enum StatusEnum

Statuses for channel selection commands.
- `


  ### [success](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ChannelTrait/StatusEnum#/s:15GoogleHomeTypes6MatterO12ChannelTraitV10StatusEnumO7successyA2GmF)


  ` The command succeeded.

  #### Declaration

  Swift

      case success

- `


  ### [multipleMatches](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ChannelTrait/StatusEnum#/s:15GoogleHomeTypes6MatterO12ChannelTraitV10StatusEnumO15multipleMatchesyA2GmF)


  ` More than one match for the specified channel was found.

  #### Declaration

  Swift

      case multipleMatches

- `


  ### [noMatches](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ChannelTrait/StatusEnum#/s:15GoogleHomeTypes6MatterO12ChannelTraitV10StatusEnumO9noMatchesyA2GmF)


  ` No matches for the specified channel were found.

  #### Declaration

  Swift

      case noMatches

- `


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