    enum DiscoveryMode

    extension https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/MatterCommissionableDevice.html.DiscoveryMode : Decodable, Encodable, Equatable, Hashable, RawRepresentable, Sendable, SendableMetatype

Enumeration of the different ways a Matter device can be discovered.
- `


  ### [unspecified](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/MatterCommissionableDevice/DiscoveryMode#/s:13GoogleHomeSDK26MatterCommissionableDeviceV13DiscoveryModeO11unspecifiedyA2EmF)


  ` Undocumented

  #### Declaration

  Swift

      case unspecified

- `


  ### [ip](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/MatterCommissionableDevice/DiscoveryMode#/s:13GoogleHomeSDK26MatterCommissionableDeviceV13DiscoveryModeO2ipyA2EmF)


  ` Undocumented

  #### Declaration

  Swift

      case ip

- `


  ### [ble](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/MatterCommissionableDevice/DiscoveryMode#/s:13GoogleHomeSDK26MatterCommissionableDeviceV13DiscoveryModeO3bleyA2EmF)


  ` Undocumented

  #### Declaration

  Swift

      case ble

- `


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