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
DriveInfowill be set.Declaration
Swift
case driver -
Indicates that the user was in the passenger seat.
DriveInfo.scorewill have default value. All other values will be set.Declaration
Swift
case passenger -
Indicates that either
DriveInfo.driveTypeis notDriveType.driveorZendrivewas not able to determine user mode. All values inDriveInfowill be set.Declaration
Swift
case unavailable
UserMode Enumeration Reference