ZendriveSettingsErrorType
enum ZendriveSettingsErrorType : int {}
Error type for ZendriveSettingError
-
The location authorization status is determined but the user hasn’t granted the Always location authorization to the application.
Declaration
Objective-C
kZendriveSettingsErrorTypeLocationPermissionNotAuthorized = 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 notZendriveDriveDetectionMode.ZendriveDriveDetectionModeAutoON
, this error will not be thrown.Declaration
Objective-C
kZendriveSettingsErrorTypeActivityPermissionNotAuthorized = 1
-
The location authorization is Always but location accuracy authorization is not
CLAccuracyAuthorizationFullAccuracy
.Declaration
Objective-C
kZendriveSettingsErrorTypeLocationAccuracyAuthorizationReduced = 2
-
Location service is off
Declaration
Objective-C
kZendriveSettingsErrorTypeLocationServiceOff = 3