Google Maps FleetEngine V1 Client - Class LocationSensor (0.1.1)

Reference documentation and code samples for the Google Maps FleetEngine V1 Client class LocationSensor.

The sensor or methodology used to determine the location.

Protobuf type maps.fleetengine.v1.LocationSensor

Namespace

Google \ Maps \ FleetEngine \ V1

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNKNOWN_SENSOR

Value: 0

The sensor is unspecified or unknown.

Generated from protobuf enum UNKNOWN_SENSOR = 0;

GPS

Value: 1

GPS or Assisted GPS.

Generated from protobuf enum GPS = 1;

NETWORK

Value: 2

Assisted GPS, cell tower ID, or WiFi access point.

Generated from protobuf enum NETWORK = 2;

PASSIVE

Value: 3

Cell tower ID or WiFi access point.

Generated from protobuf enum PASSIVE = 3;

ROAD_SNAPPED_LOCATION_PROVIDER

Value: 4

A location determined by the mobile device to be the most likely road position.

Generated from protobuf enum ROAD_SNAPPED_LOCATION_PROVIDER = 4;

CUSTOMER_SUPPLIED_LOCATION

Value: 5

A customer-supplied location from an independent source. Typically, this value is used for 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 last_location.supplemental_location_sensor.

Generated from protobuf enum CUSTOMER_SUPPLIED_LOCATION = 5;

FLEET_ENGINE_LOCATION

Value: 6

A location calculated by Fleet Engine based on the signals available to it.

Output only. This value will be rejected if it is received in a request.

Generated from protobuf enum FLEET_ENGINE_LOCATION = 6;

FUSED_LOCATION_PROVIDER

Value: 100

Android's Fused Location Provider.

Generated from protobuf enum FUSED_LOCATION_PROVIDER = 100;

CORE_LOCATION

Value: 200

The location provider on Apple operating systems.

Generated from protobuf enum CORE_LOCATION = 200;