SettingsErrorType
@objc(ZDSettingsErrorType)
public enum SettingsErrorType : Int32
Error type for SettingError
-
The location authorization status is determined but the user hasn’t granted the Always location authorization to the application.
Declaration
Swift
case locationPermissionNotAuthorized = 0
-
The activity authorization status is determined but the user has not authorized application to access the motion and fitness data. This error will only be thrown if activity based trip detection is enabled for the application.
Note
if the current drive detection is notDriveDetectionMode.autoON
, this error will not be thrown.Declaration
Swift
case activityPermissionNotAuthorized = 1
-
The location authorization is Always but location accuracy authorization is not
CLAccuracyAuthorizationFullAccuracy
.Declaration
Swift
case locationAccuracyAuthorizationReduced = 2
-
Location service is off
Declaration
Swift
case locationServiceOff = 3