Enumeration ZendriveErrorCode

An error code that indicates the type of error that occured during a Zendrive SDK operation.

Enumeration Members

ACCIDENT_DETECTION_NOT_AVAILABLE_FOR_APPLICATION: "accident-detection-not-available-for-application"

This application does not have Accident Detection enabled.

ACCIDENT_DETECTION_NOT_AVAILABLE_FOR_DEVICE: "accident-detection-not-available-for-device"

This device does not have sensors that support Accident Detection.

ANDROID_VERSION_NOT_SUPPORTED: "android-version-not-supported"

The Android version on the device is not supported by the SDK.

CONFIGURATION_ERROR: "configuration-error"

Operation failed because [[ZendriveConfiguration]] was invalid.

DEBUG_UPLOAD_ERROR: "debug-upload-error"

Operation failed because Zendrive debug data failed to upload.

GOOGLE_PLAY_SERVICES_UNAVAILABLE: "google-play-services-unavailable"

Google play services unavailable on the device.

GOOGLE_PLAY_SERVICES_UPDATE_REQUIRED: "google-play-services-update-required"

The version of Google Play Services installed on the device needs to be updated for use with the Zendrive SDK.

INSURANCE_PERIOD_SAME: "insurance-period-same"

Insurance Period hasn’t changed from the previously active period, action ignored. This error may be returned from startPeriod1, startDriveWithPeriod2, startDriveWithPeriod3 APIs of ZendriveInsurance.

INVALID_DRIVER_ID: "invalid-driver-id"

The driver id provided during SDK setup is invalid.

INVALID_PARAMS: "invalid-params"

Invalid parameter was passed to the API.

INVALID_SDK_KEY: "invalid-sdk-key"

The SDK key provided during SDK setup is invalid.

INVALID_SESSION_ID: "invalid-session-id"

The session id provided to startSession call is invalid.

INVALID_TRACKING_ID: "invalid-tracking-id"

The tracking id provided to [[Zendrive.startDrive]] or [[Zendrive.stopManualDrive]] call is invalid.

IO_ERROR: "io-error"

Some IO error occured while doing the operation. Refer to error description for more info.

LOCATION_ACCURACY_NOT_AVAILABLE: "location-accuracy-not-available"

High accuracy location updates is not enabled on the device.

MOCK_ACCIDENT_ERROR: "mock-accident-error"

This indicates error conditions encountered when triggering mock accidents.

NETWORK_NOT_AVAILABLE: "network-not-available"

This device is not connected to network.

NOTIFICATION_PROVIDER_ERROR: "notification-provider-error"

Operation failed because ZendriveNotificationProvider class was NULL.

NO_MANUAL_DRIVE: "no-manual-drive"

Called [[Zendrive.stopManualDrive]] when no manual drive in progress.

REGION_SWITCH_ERROR: "region-switch-error"

Changing a region post setup is NOT allowed, until wipeout is called.

REGION_UNSUPPORTED: "region-unsupported"

Operation failed because [[ZendriveRegion]] provided was unsupported.

SDK_ERROR: "sdk-error"

This indicates an internal SDK error which caused a SDK operation to fail.

SDK_NOT_SETUP: "sdk-not-setup"

The operation failed because the SDK is not yet setup.

SDK_NOT_TORN_DOWN: "sdk-not-torn-down"

This operation failed because it should not be called when the sdk is running.

SDK_SETUP_IN_PROGRESS: "sdk-setup-in-progress"

This operation failed because it should not be called when [[Zendrive.setup]] is in progress.

SDK_TEAR_DOWN_IN_PROGRESS: "teardown-in-progress"

This operation failed because it should not be called when [[Zendrive.teardown]] is in progress.

UNSUPPORTED_DEVICE: "unsupported-device"

Zendrive SDK does not support the device type.

UNSUPPORTED_OPERATION: "unsupported-operation"

Operation failed because it is not supported by ZendriveSDK-testing Library.

UNSUPPORTED_OS_VERSION: "unsupported-os-version"

Zendrive SDK does not support the OS version of the device.

USER_DEPROVISIONED: "user-deprovisioned"

User is not authorized to use this application.