UserMode
@objc(ZDUserMode)
public enum UserMode : Int32
The value return from DriveInfo.userMode
. Indicates whether user
was a driver or passenger.
-
Indicates that the user was in the driver seat. All values in
DriveInfo
will be set.Declaration
Swift
case driver
-
Indicates that the user was in the passenger seat.
DriveInfo.score
will have default value. All other values will be set.Declaration
Swift
case passenger
-
Indicates that either
DriveInfo.driveType
is notDriveType.drive
orZendrive
was not able to determine user mode. All values inDriveInfo
will be set.Declaration
Swift
case unavailable