On-demand Rides and Deliveries Solution is currently available only to select partners. Contact sales to learn more.

GMTDVehicleUpdate Class Reference

Stay organized with collections Save and categorize content based on your preferences.
GMTDVehicleUpdate Class Reference

Overview

Object representing a vehicle update.

Properties

GMTDVehicleState vehicleState
 The vehicle state.
CLLocation * location
 The location.
GMSNavigationWaypoint * destinationWaypoint
 The destination waypoint.
NSArray< CLLocation * > * route
 The route to the destination.
NSNumber * remainingTimeInSeconds
 The remaining time to the destination, in seconds.
NSNumber * remainingDistanceInMeters
 The remaining distance in meters to the destination.

Property Documentation

- (GMTDVehicleState) vehicleState [read, assign]

The vehicle state.

- (CLLocation*) location [read, copy]

The location.

- (GMSNavigationWaypoint*) destinationWaypoint [read, assign]

The destination waypoint.

- (NSArray<CLLocation *>*) route [read, copy]

The route to the destination.

- (NSNumber*) remainingTimeInSeconds [read, copy]

The remaining time to the destination, in seconds.

- (NSNumber*) remainingDistanceInMeters [read, copy]

The remaining distance in meters to the destination.