ZendriveError Constants Reference
Declared in | ZendriveError.h |
ZendriveError
ZendriveError
Discussion: Error returned as code to NSError from Zendrive public APIs in case of failures.
Definition
typedef NS_ENUM(int, ZendriveError ) {
kZendriveErrorInvalidSDKKeyString = 0,
kZendriveErrorNetworkUnreachable = 1,
kZendriveErrorUnsupportedOSVersion = 2,
kZendriveErrorDeviceUnsupported = 3,
kZendriveErrorInvalidParams = 101,
kZendriveErrorInternalFailure = 102,
kZendriveErrorNotSetup = 103,
kZendriveErrorInsurancePeriodSame = 104,
kZendriveErrorInvalidTrackingId = 105,
kZendriveErrorNotTornDown = 106,
kZendriveErrorIOError = 107,
};
Constants
kZendriveErrorInvalidSDKKeyString
-
SDK Key used in setup is invalid
Declared In
ZendriveError.h
. kZendriveErrorNetworkUnreachable
-
Network not reachable, Zendrive.setup sometimes needs network call for authentication and to update SDK configuration to work. This error is returned whenever network is not available in these scenarios.
Declared In
ZendriveError.h
. kZendriveErrorUnsupportedOSVersion
-
Zendrive SDK does not support the OS version of the device.
Declared In
ZendriveError.h
. kZendriveErrorDeviceUnsupported
-
Zendrive SDK does not support the device type.
Declared In
ZendriveError.h
. kZendriveErrorInvalidParams
-
Invalid parameter was passed to the API.
Declared In
ZendriveError.h
. kZendriveErrorInternalFailure
-
Internal error.
Declared In
ZendriveError.h
. kZendriveErrorNotSetup
-
ZendriveSDK is not setup. This error is also returned in case SDK setup has started but completion handler for setup is not called yet.
Declared In
ZendriveError.h
. kZendriveErrorInsurancePeriodSame
-
Insurance Period hasn’t changed from the previously active period, action ignored. This error may be returned from startPeriod1, startDriveWithPeriod2, startDriveWithPeriod3 APIs of ZendriveInsurance.
Declared In
ZendriveError.h
. kZendriveErrorInvalidTrackingId
-
Invalid trackingId passed for new drive. This error may be returned from startDriveWithPeriod2, startDriveWithPeriod3 APIs of ZendriveInsurance.
Declared In
ZendriveError.h
. kZendriveErrorNotTornDown
-
ZendriveSDK is not torn down. This error is returned if the requested operation cannot be completed while the SDK is running like the wipeout API.
Declared In
ZendriveError.h
. kZendriveErrorIOError
-
Some IO error occured while doing the operation. Refer to error description for more info.
Declared In
ZendriveError.h
.
Declared In
ZendriveError.h