Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Location

Optional. The device location of the user. Note, this is only populated after location permissions are granted by the end user. See the location message for more details on which fields are set depending on coarse vs. fine grained permission.

Container that represents a location.

Hierarchy

  • Location

Properties

Optional coordinates

coordinates: LatLng

Geo coordinates. Requires the [DEVICE_PRECISE_LOCATION] permission.

Optional postalAddress

postalAddress: PostalAddress

Postal address. Requires the [DEVICE_PRECISE_LOCATION] or [DEVICE_COARSE_LOCATION] permission. When the coarse location permission is granted, only the 'postal_code' and 'locality' fields are expected to be populated. Precise location permission will populate additional fields like 'administrative_area' and 'address_lines'.

Generated using TypeDoc