HereSDKDemandRideLocation

@interface HereSDKDemandRideLocation : NSObject

A class containing information about the vehicle’s progress. Updated every ~10 seconds.

  • A unique ride id

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nonnull rideId;

    Swift

    var rideId: String { get }
  • The current location of the vehicle. null if not available

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) CLLocation *vehicleLocation;

    Swift

    var vehicleLocation: CLLocation? { get }
  • The estimated time of pickup. Constantly updated until the vehicle is at the pickup location.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSDate *estimatedPickupTime;

    Swift

    var estimatedPickupTime: Date? { get }
  • The estimated time of dropoff. Constantly updated until the vehicle is at the dropoff location.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSDate *estimatedDropoffTime;

    Swift

    var estimatedDropoffTime: Date? { get }
  • Last time this object was updated. Used for tracking updates.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSDate *_Nonnull lastUpdateTime;

    Swift

    var lastUpdateTime: Date { get }
  • Estimated pickup time, if available, in seconds, relative to now. Received from supplier or calculated according to vehicle GPS location(consider traffic and optimal route). Null if can’t calculate. If the passenger was already picked up, will return 0.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSNumber *estimatedPickupTimeSeconds;

    Swift

    var estimatedPickupTimeSeconds: NSNumber? { get }
  • Estimated drop-off time, if available, in seconds, relative to now. If the vehicle already arrived, will return 0.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) NSNumber *estimatedDropOffTimeSeconds;

    Swift

    var estimatedDropOffTimeSeconds: NSNumber? { get }