    struct LatLng

    extension LatLng : https://developers.home.google.com/reference/swift/GoogleHomeSDK/GoogleHomeSDK.html#/s:13GoogleHomeSDK15AutomationValueP, Decodable, Encodable, Equatable, Hashable, Sendable, SendableMetatype, https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/StructDataRepresentable.html

Represents a latitude/longitude pair.
- `


  ### [latitude](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/LatLng#/s:13GoogleHomeSDK6LatLngV8latitudeSdvp)


  ` The latitude of the geocoordinate.

  #### Declaration

  Swift

      let latitude: Double

- `


  ### [longitude](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/LatLng#/s:13GoogleHomeSDK6LatLngV9longitudeSdvp)


  ` The longitude of the geocoordinate.

  #### Declaration

  Swift

      let longitude: Double

- `


  ### [init(latitude:longitude:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/LatLng#/s:13GoogleHomeSDK6LatLngV8latitude9longitudeACSd_Sdtcfc)


  ` Initializes the `LatLng` with the given properties.

  #### Declaration

  Swift

      init(latitude: Double, longitude: Double)

- `


  ### [init(decoder:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/LatLng#/s:13GoogleHomeSDK6LatLngV7decoderAcA12TraitDecoderV_tKcfc)


  ` Initializes `LatLng` with the trait decoder.

  #### Declaration

  Swift

      init(decoder: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/TraitDecoder.html) throws

  #### Parameters

  |---|---|
  | ` decoder ` | The trait decoder to decode the lat/lng. |

- `


  ### [encode(with:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/LatLng#/s:13GoogleHomeSDK6LatLngV6encode4withyAA12TraitEncoderC_tKF)


  ` Encodes `LatLng` to the trait encoder.

  #### Declaration

  Swift

      func encode(with encoder: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Classes/TraitEncoder.html) throws

- `


  ### [init(from:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/LatLng#/s:13GoogleHomeSDK6LatLngV4fromACs7Decoder_p_tKcfc)


  ` Creates a new instance by decoding from the given decoder.

  This initializer throws an error if reading from the decoder fails, or
  if the data read is corrupted or otherwise invalid.

  #### Declaration

  Swift

      init(from decoder: any Decoder) throws