GoogleRidesharingConsumer Framework Reference

  • GMTSVehicle is an object containing both profile data, like maximum capacity, and tracking data, such as current trips and location, related to a vehicle.

  • The vehicle's state, supported trip types, current trip IDs, last known location, maximum capacity, attributes, and type information are all accessible through this object.

  • The object can be initialized with details such as vehicle name, state, supported trip types, current trips, last location, maximum capacity, attributes, and vehicle type.

  • The init method is unavailable and will return nil; the designated initializer is -initWithvehicleName:vehicleState:supportedTripTypes:currentTrips:lastLocation:maximumCapacity:attributes:vehicleType: instead.

GMTSVehicle

@interface GMTSVehicle : GMTCImmutableData

Object that contains functional data related to a vehicle. This data can be profile data, such as the max capacity, or tracking data, such as current trips and location.