ZendriveDriveCategory
enum ZendriveDriveCategory : NSUInteger {}
The category that best indicates the type of trip
-
Indicates that the trip was taken in a car
Declaration
Objective-C
ZendriveDriveCategoryCar = 0
-
Indicates that the trip was taken in a car and the user was the driver
Declaration
Objective-C
ZendriveDriveCategoryCarDriver = 1
-
Indicates that the trip was taken in a car and the user was a passenger
Declaration
Objective-C
ZendriveDriveCategoryCarPassenger = 2
-
Indicates that the trip was taken in a train or a subway
Declaration
Objective-C
ZendriveDriveCategoryTrain = 3
-
Indicates that the trip was taken in a bus
Declaration
Objective-C
ZendriveDriveCategoryBus = 4
-
Indicates that the trip was taken on a bicycle
Declaration
Objective-C
ZendriveDriveCategoryBicycle = 5
-
Indicates that the trip was taken on a motorcycle
Declaration
Objective-C
ZendriveDriveCategoryMotorcycle = 6
-
Indicates that the trip was taken on foot (either walking or running)
Declaration
Objective-C
ZendriveDriveCategoryFoot = 7
-
Indicates that the trip was taken using some form of public transit (bus/train/subway/tram etc)
Declaration
Objective-C
ZendriveDriveCategoryTransit = 8
-
Indicates that the trip was taken using some form of air travel
Declaration
Objective-C
ZendriveDriveCategoryFlight = 9
-
Indicates that there wasn’t enough movement and this shouldn’t have been detected as a trip
Declaration
Objective-C
ZendriveDriveCategoryInvalid = 97
-
Indicates that the trip was not taken in a car. This includes everything other than ZendriveDriveCategoryCar
Declaration
Objective-C
ZendriveDriveCategoryNotCar = 98
-
Fallback when the above options do not cover the use case.
This maybe used when the mode of transport is not covered above (eg. snow-mobile) or when enough information is not available to put it in one of the above categories
Declaration
Objective-C
ZendriveDriveCategoryOther = 99