LocationSensorLog

  • This documentation details the possible location providers for determining a device's location, including GPS, network-based methods, and specialized providers like Fleet Engine and customer-supplied locations.

  • These location providers are categorized using enums that specify the source of the location data, such as GPS, cell towers, WiFi access points, or road snapping.

  • Some providers offer higher accuracy, like GPS, while others provide broader coverage using network infrastructure or supplemental data sources.

  • Developers can leverage these enums to understand the origin and nature of location data received from different providers.

  • This information is crucial for building location-aware applications, enabling developers to select the appropriate provider based on their specific needs and use cases.

Possible location providers (not necessarily "sensors").

Enums
LOCATION_SENSOR_LOG_UNSPECIFIED The sensor is unspecified or unknown.
LOCATION_SENSOR_GPS GPS or Assisted GPS.
LOCATION_SENSOR_NETWORK Assisted GPS, cell tower ID, or WiFi access point.
LOCATION_SENSOR_PASSIVE Cell tower ID or WiFi access point.
LOCATION_SENSOR_ROAD_SNAPPED_LOCATION_PROVIDER A location determined by the mobile device to be the most likely road position.
LOCATION_SENSOR_FLEET_ENGINE_LOCATION A location calculated by Fleet Engine based on the signals available to it.
LOCATION_SENSOR_CUSTOMER_SUPPLIED_LOCATION A customer-supplied location from an independent source. Typically, this value indicates a location provided from sources other than the mobile device running Driver SDK. If the original source is described by one of the other enum values, use that value. Locations marked CUSTOMER_SUPPLIED_LOCATION are typically provided via a Vehicle's lastLocation.supplemental_location_sensor.
LOCATION_SENSOR_FUSED_LOCATION_PROVIDER Android's Fused Location Provider.
LOCATION_SENSOR_CORE_LOCATION The location provider on Apple operating systems.