HereSDKDemandRideStatusUpdate
@interface HereSDKDemandRideStatusUpdate : NSObject
A ride status log record, containing a status value and a timestamp
-
The current status of the ride
Declaration
Objective-C
@property (readonly, nonatomic) HereSDKDemandRideStatusUpdateStatus status;
Swift
var status: HereSDKDemandRideStatusUpdateStatus { get }
-
The time the ride status was updated
Declaration
Objective-C
@property (readonly, copy, nonatomic) NSDate *_Nonnull timestamp;
Swift
var timestamp: Date { get }
-
The reason for the current ride status
Declaration
Objective-C
@property (readonly, nonatomic) HereSDKDemandRideStatusUpdateStatusReason statusReason;
Swift
var statusReason: HereSDKDemandRideStatusUpdateStatusReason { get }
-
Returns a text description of the ride status
Declaration
Objective-C
+ (nonnull NSString *)recordStatusToString: (HereSDKDemandRideStatusUpdateStatus)status;
Swift
class func recordStatus(toString status: HereSDKDemandRideStatusUpdateStatus) -> String
Parameters
status
The status of the ride
Return Value
The text description of the status