GoogleRidesharingDriver Framework Reference

GMTDDeliveryVehicle

@interface GMTDDeliveryVehicle : GMTSImmutableData

An immutable object representing a delivery vehicle.

  • The ID of the vehicle.

    Declaration

    Swift

    var vehicleID: String { get }

    Objective-C

    @property (nonatomic, readonly) GMTDFleetEngineIDString *_Nonnull vehicleID;
  • The name of the vehicle.

    Declaration

    Swift

    var vehicleName: String { get }

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull vehicleName;
  • The provider of the vehicle.

    Declaration

    Swift

    var providerID: String { get }

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull providerID;
  • The stops assigned to this vehicle.

    Declaration

    Swift

    var vehicleStops: [GMTDVehicleStop]? { get }

    Objective-C

    @property (nonatomic, readonly, nullable) NSArray<GMTDVehicleStop *> *vehicleStops;
  • Unavailable

    This class will only be initialized internally with response data from Fleet Engine.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Unavailable

    Declaration

    Objective-C

    + (instancetype)new NS_UNAVAILABLE;