HereSDKDemandCancellationReasonCategory
enum HereSDKDemandCancellationReasonCategory {}
The cancel reason category. Some reasons are relevant only to passenger cancellations, and some are relevant only to supplier cancellations.
-
Passenger cancellation, driver didn’t arrive.
Declaration
Objective-C
HereSDKDemandCancellationReasonCategoryDriverNoShow
Swift
case driverNoShow = 0
-
Passenger cancellation, price changed.
Declaration
Objective-C
HereSDKDemandCancellationReasonCategoryPriceChanged
Swift
case priceChanged = 1
-
Passenger cancellation, ETA changed.
Declaration
Objective-C
HereSDKDemandCancellationReasonCategoryEtaChanged
Swift
case etaChanged = 2
-
Passenger cancellation, vehicle unsuitable for passenger’s needs.
Declaration
Objective-C
HereSDKDemandCancellationReasonCategoryUnsuitableVehicle
Swift
case unsuitableVehicle = 3
-
Passenger cancellation, driver behaved inappropriately.
Declaration
Objective-C
HereSDKDemandCancellationReasonCategoryDriverBehavedInappropriately
Swift
case driverBehavedInappropriately = 4
-
Passenger cancellation, passenger plans changed.
Declaration
Objective-C
HereSDKDemandCancellationReasonCategoryChangedMyPlans
Swift
case changedMyPlans = 5
-
Supplier cancellation. No drivers available.
Declaration
Objective-C
HereSDKDemandCancellationReasonCategoryDriversUnavailable
Swift
case driversUnavailable = 6
-
Supplier cancellation. Passenger didn’t arrive.
Declaration
Objective-C
HereSDKDemandCancellationReasonCategoryPassengerNoShow
Swift
case passengerNoShow = 7
-
Supplier cancellation. Passenger called the driver and asked to cancel the ride.
Declaration
Objective-C
HereSDKDemandCancellationReasonCategoryPassengerRequestedToCancel
Swift
case passengerRequestedToCancel = 8
-
Supplier cancellation. Vehicle malfunction.
Declaration
Objective-C
HereSDKDemandCancellationReasonCategoryVehicleMalfunction
Swift
case vehicleMalfunction = 9
-
Supplier cancellation. Driver couldn’t arrive due to heavy traffic.
Declaration
Objective-C
HereSDKDemandCancellationReasonCategoryHeavyTraffic
Swift
case heavyTraffic = 10
-
Other cancellation reason.
Declaration
Objective-C
HereSDKDemandCancellationReasonCategoryOther
Swift
case other = 11