# GoogleRidesharingDriver Framework Reference

# GMTDVehicleUpdate

    @interface GMTDVehicleUpdate : NSObject <NSCopying>

Object representing a vehicle update.
- `


  ### [vehicleState](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDVehicleUpdate#/c:objc(cs)GMTDVehicleUpdate(py)vehicleState)


  ` The vehicle state.

  #### Declaration

  Swift

      var vehicleState: https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Enums/GMTDVehicleState.html { get }

  Objective-C

      @property (nonatomic, readonly) https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Enums/GMTDVehicleState.html vehicleState;

- `


  ### [location](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDVehicleUpdate#/c:objc(cs)GMTDVehicleUpdate(py)location)


  ` The location.

  #### Declaration

  Swift

      @NSCopying var location: CLLocation? { get }

  Objective-C

      @property (nonatomic, copy, readonly, nullable) CLLocation *location;

- `


  ### [destinationWaypoint](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDVehicleUpdate#/c:objc(cs)GMTDVehicleUpdate(py)destinationWaypoint)


  ` The destination waypoint.

  #### Declaration

  Swift

      var destinationWaypoint: GMSNavigationWaypoint? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) GMSNavigationWaypoint *destinationWaypoint;

- `


  ### [route](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDVehicleUpdate#/c:objc(cs)GMTDVehicleUpdate(py)route)


  ` The route to the destination.

  #### Declaration

  Swift

      var route: [CLLocation]? { get }

  Objective-C

      @property (nonatomic, copy, readonly, nullable) NSArray<CLLocation *> *route;

- `


  ### [remainingTimeInSeconds](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDVehicleUpdate#/c:objc(cs)GMTDVehicleUpdate(py)remainingTimeInSeconds)


  ` The remaining time to the destination, in seconds.

  #### Declaration

  Swift

      @NSCopying var remainingTimeInSeconds: NSNumber? { get }

  Objective-C

      @property (nonatomic, copy, readonly, nullable) NSNumber *remainingTimeInSeconds;

- `


  ### [remainingDistanceInMeters](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDVehicleUpdate#/c:objc(cs)GMTDVehicleUpdate(py)remainingDistanceInMeters)


  ` The remaining distance in meters to the destination.

  #### Declaration

  Swift

      @NSCopying var remainingDistanceInMeters: NSNumber? { get }

  Objective-C

      @property (nonatomic, copy, readonly, nullable) NSNumber *remainingDistanceInMeters;

- `


  ### [-init](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDVehicleUpdate#/c:objc(cs)GMTDVehicleUpdate(im)init)


  ` Unavailable
  This object is initialized by the `https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDVehicleReporter.html` and not intended by developers.

  #### Declaration

  Objective-C

      - (null_unspecified instancetype)init;