public enum ZendriveIssueType extends Enum<ZendriveIssueType>
ZendriveSettingError or ZendriveSettingWarning| Enum Constant and Description | 
|---|
ACTIVITY_RECOGNITION_PERMISSION_DENIED
User has denied activity recognition permission to the application. 
 | 
AIRPLANE_MODE_ENABLED
Airplane mode is enabled on the device and is affecting location accuracy. 
 | 
BACKGROUND_RESTRICTION_ENABLED
User has enabled background restrictions on the application. 
 | 
BATTERY_OPTIMIZATION_ENABLED
Battery optimization is enabled. 
 | 
BLE_PERMISSION_DENIED
This warning is thrown when there are Beacon vehicle tagging feature is enabled but the
 necessary permissions have been denied. 
 | 
BLUETOOTH_DISABLED
Bluetooth is disabled when there are some vehicles already associated by using
  
associateVehicle or beacon vehicle
 tagging is enabled. | 
BLUETOOTH_PERMISSION_DENIED
This warning is thrown when there are associated vehicles for bluetooth vehicle tagging
 but the necessary bluetooth permissions have been denied. 
 | 
GOOGLE_PLAY_CONNECTION_ERROR
Zendrive SDK was unable to connect to Google Play services. 
 | 
GOOGLE_PLAY_SETTINGS_ERROR
There is a settings error from Google play services. 
 | 
LOCATION_MODE_HIGH_ACCURACY_DENIED
This will be returned on devices running on Android versions 4.4 to 8.1 when user has not set
 location mode as  
Settings.Secure. | 
LOCATION_PERMISSION_DENIED
User has denied location permission to the application. 
 | 
LOCATION_SETTINGS_ERROR
Deprecated. 
 
This issue type is no longer used and will be removed in a future SDK release. 
 | 
LOCATION_UNAVAILABLE_WHILE_DRIVE_RESUME
Specific to the While In Use location permission, resuming the drives from the background
 is affected due to location unavailability when the request is made from the background. 
 | 
ONE_PLUS_DEEP_OPTIMIZATION
OnePlus OEM specific Deep Optimization battery setting is enabled on device. 
 | 
OVERLAY_PERMISSION_DENIED
Draw over other apps is disabled. 
 | 
POWER_SAVER_MODE_ENABLED
Power saver mode is enabled. 
 | 
PRECISE_LOCATION_DENIED
This will be returned on devices running on Android 12 and above when the user has
 set the location accuracy for the application as "Approximate" (which provides the location
 access accuracy corresponding to  
Manifest.permission.ACCESS_COARSE_LOCATION). | 
WIFI_SCANNING_DISABLED
Deprecated. 
 
This issue type is no longer used and will be removed in a future SDK release. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ZendriveIssueType | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ZendriveIssueType[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ZendriveIssueType POWER_SAVER_MODE_ENABLED
For devices running OS versions prior to Android P, this is returned as a warning. For devices running Android P and above, it is returned as an error if this affects location when device screen is turned off. Otherwise this is returned as a warning.
public static final ZendriveIssueType BACKGROUND_RESTRICTION_ENABLED
public static final ZendriveIssueType LOCATION_PERMISSION_DENIED
Manifest.permission.ACCESS_BACKGROUND_LOCATION in addition to
 Manifest.permission.ACCESS_FINE_LOCATION.public static final ZendriveIssueType BATTERY_OPTIMIZATION_ENABLED
public static final ZendriveIssueType ONE_PLUS_DEEP_OPTIMIZATION
This error indicates that trip detection of Zendrive SDK is heavily restricted and drives may not be properly recorded. This is returned on devices running OS version Android P or lower.
 The user should cast the ZendriveSettingError to an instance of
 ZendriveResolvableError. The user should then use the
 ZendriveResolvableError.navigableIntent to navigate to device specific screen to
 resolve error.
@Deprecated public static final ZendriveIssueType LOCATION_SETTINGS_ERROR
@Deprecated public static final ZendriveIssueType WIFI_SCANNING_DISABLED
On devices running OS versions older than Jelly Bean MR2, this happens when the wifi radio is turned off, either separately or as part of airplane mode.
On devices running OS versions Jelly Bean MR2 and up, this happens if wifi scanning isn't set to "always on" and the wifi radio is turned off, either separately or as part of airplane mode.public static final ZendriveIssueType GOOGLE_PLAY_CONNECTION_ERROR
 The user should cast the ZendriveSettingError to an instance of
 GooglePlayConnectionError.
 The user should then use the GooglePlayConnectionError.connectionResult to diagnose and resolve the issue.
public static final ZendriveIssueType GOOGLE_PLAY_SETTINGS_ERROR
 The user should cast the ZendriveSettingError to an instance of
 GooglePlaySettingsError.
 The user should then use the GooglePlaySettingsError.googlePlaySettingsResult to diagnose and resolve the issue.
public static final ZendriveIssueType ACTIVITY_RECOGNITION_PERMISSION_DENIED
Manifest.permission.ACTIVITY_RECOGNITION.
 public static final ZendriveIssueType OVERLAY_PERMISSION_DENIED
public static final ZendriveIssueType AIRPLANE_MODE_ENABLED
public static final ZendriveIssueType BLUETOOTH_DISABLED
associateVehicle or beacon vehicle
 tagging is enabled.public static final ZendriveIssueType LOCATION_UNAVAILABLE_WHILE_DRIVE_RESUME
Manifest.permission.ACCESS_BACKGROUND_LOCATION in addition to
 Manifest.permission.ACCESS_FINE_LOCATION.public static final ZendriveIssueType PRECISE_LOCATION_DENIED
Manifest.permission.ACCESS_COARSE_LOCATION).
 
 Zendrive SDK needs the location access accuracy for the application to be set as "Precise"
 (which provides the location accuracy corresponding to
 Manifest.permission.ACCESS_FINE_LOCATION) to operate. Hence, it is recommended to
 not manually downgrade the location access accuracy.
public static final ZendriveIssueType LOCATION_MODE_HIGH_ACCURACY_DENIED
Settings.Secure.
 In android versions 4.4 to Android 8.1, a user can choose location mode based on accuracy, speed, and battery use.
 1. Settings.Secure: Use GPS, Wi-Fi,
     mobile networks, and sensors to get the most accurate location. Use Google Location
     Services to help estimate your phone's location faster and more accurately.
 
 2. Settings.Secure: Use sources that
     use less battery, like Wi-Fi and mobile networks. Use Google Location Services to help
     estimate your phone's location faster and more accurately.
 
 3. Settings.Secure: Use only GPS. Do not
     use Google Location Services to provide location information. This can estimate your
     phone's location more slowly and use more battery.
 
 Settings.Secure is the best among above
 three modes for trip detection.
public static final ZendriveIssueType BLUETOOTH_PERMISSION_DENIED
 1. Near by device permission has been denied by the user at run time.
 2. For devices running on and above Android 12, BLUETOOTH_CONNECT permission is not present
 in the AndroidManifest.xml file.
 3. For devices running on Android version below Android 12, BLUETOOTH permission is not
 present in the AndroidManifest.xml file.
public static final ZendriveIssueType BLE_PERMISSION_DENIED
 1. Near by device permission has been denied by the user at run time.
 2. For devices running on and above Android 12, BLUETOOTH_SCAN permission is not present
 in the AndroidManifest.xml file.
 3. For devices running on Android version below Android 12, BLUETOOTH_ADMIN permission is not
 present in the AndroidManifest.xml file.
 4. For devices running on and above Android 12, BLUETOOTH_CONNECT permission is not present
 in the AndroidManifest.xml file.
 5. For devices running on Android version below Android 12, BLUETOOTH permission is not
 present in the AndroidManifest.xml file.
public static ZendriveIssueType[] values()
for (ZendriveIssueType c : ZendriveIssueType.values()) System.out.println(c);
public static ZendriveIssueType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null