    enum LocalityType

    extension LocalityType : Equatable, Hashable, Sendable, SendableMetatype

Network locality of request.
- `


  ### [unspecified](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/LocalityType#/s:13GoogleHomeSDK12LocalityTypeO11unspecifiedyA2CmF)


  ` Unknown locality.

  #### Declaration

  Swift

      case unspecified

- `


  ### [direct](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/LocalityType#/s:13GoogleHomeSDK12LocalityTypeO6directyA2CmF)


  ` Direct communication with the target device.

  #### Declaration

  Swift

      case direct

- `


  ### [localPeer](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/LocalityType#/s:13GoogleHomeSDK12LocalityTypeO9localPeeryA2CmF)


  ` Communication through a local hub peer that forwards requests and responses.

  #### Declaration

  Swift

      case localPeer

- `


  ### [remote](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/LocalityType#/s:13GoogleHomeSDK12LocalityTypeO6remoteyA2CmF)


  ` Communication outside the local network.

  #### Declaration

  Swift

      case remote

- `


  ### [mixed](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/LocalityType#/s:13GoogleHomeSDK12LocalityTypeO5mixedyA2CmF)


  ` Multiple communication routes found.

  This only applies when aggregating multiple types, like in `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/DeviceType.html` and `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeDevice.html`.

  #### Declaration

  Swift

      case mixed