GoogleRidesharingDriver Framework Reference

GMTDVehicleUpdate

@interface GMTDVehicleUpdate : NSObject <NSCopying>

Object representing a vehicle update.

  • The vehicle state.

    Declaration

    Swift

    var vehicleState: GMTDVehicleState { get }

    Objective-C

    @property (nonatomic, readonly) GMTDVehicleState vehicleState;
  • The location.

    Declaration

    Swift

    @NSCopying var location: CLLocation? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) CLLocation *location;
  • The destination waypoint.

    Declaration

    Swift

    var destinationWaypoint: GMSNavigationWaypoint? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) GMSNavigationWaypoint *destinationWaypoint;
  • The route to the destination.

    Declaration

    Swift

    var route: [CLLocation]? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSArray<CLLocation *> *route;
  • The remaining time to the destination, in seconds.

    Declaration

    Swift

    @NSCopying var remainingTimeInSeconds: NSNumber? { get }

    Objective-C

    @property (nonatomic, copy, readonly, nullable) NSNumber *remainingTimeInSeconds;
  • The remaining distance in meters to the destination.

    Declaration

    Swift

    @NSCopying var remainingDistanceInMeters: NSNumber? { get }

    Objective-C

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

    This object is initialized by the GMTDVehicleReporter and not intended by developers.

    Declaration

    Objective-C

    - (null_unspecified instancetype)init;