FairmaticErrorCode

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

Entries

Link copied to clipboard

The Android version on the device is not supported by the SDK. The SDK supports API 21 and above.

Link copied to clipboard

Google play services unavailable on the device. Application may prompt users to install Google play services and try again. For prompting the user to resolve the issue:

Link copied to clipboard

The version of Google Play Services installed on the device needs to be updated for use with the Fairmatic SDK. For prompting the user to resolve the issue:

Link copied to clipboard

The SDK key provided during SDK setup is invalid.

Link copied to clipboard

The driver id provided during SDK setup is invalid.

Link copied to clipboard

The operation failed because the SDK is not yet setup.

Link copied to clipboard

Called com.fairmatic.sdk.Fairmatic.stopManualDrive when no manual drive in progress. Note that trying to stop an automatically detected drive will return this error code.

Link copied to clipboard

The session id provided to startSession call is invalid.

This device does not have sensors that support Accident Detection.

This application does not have Accident Detection enabled.

Link copied to clipboard

This device is not connected to network.

Link copied to clipboard

High accuracy location updates is not enabled on the device. The app may prompt users to enable High Accuracy location updates in Location Settings.

Link copied to clipboard

This error is applicable only for android 14 and above. Due to OS constraints, manual drive cannot be started without location permission.

Link copied to clipboard

This indicates an internal SDK error which caused a SDK operation to fail. The error message contains more details. Contact "support@fairmatic.com" if issue does not fix itself soon. This is used as the default error code.

Link copied to clipboard

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

Link copied to clipboard

This operation failed because it should not be called when com.fairmatic.sdk.Fairmatic.setup is in progress.

Link copied to clipboard

This operation failed because it should not be called when com.fairmatic.sdk.Fairmatic.teardown is in progress.

Link copied to clipboard

This indicates error conditions encountered when triggering mock accidents.

Link copied to clipboard

Operation failed because FairmaticNotificationProvider class was NULL.

Link copied to clipboard

Operation failed because Fairmatic debug data failed to upload.

Link copied to clipboard

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

Link copied to clipboard

Operation failed because FairmaticConfiguration was null.

Link copied to clipboard

User is not authorized to use this application.

Link copied to clipboard

Operation failed because the set vehicle type feature is disabled in the config.

Link copied to clipboard

Invalid value was passed for a given TripParameter.

This error is applicable only for Huawei devices. Google play services and Huawei mobile services are unavailable on the device.

Link copied to clipboard

This error is applicable only for Huawei devices. The version of Huawei Mobile Services installed on the device needs to be updated for use with the Fairmatic SDK.

Link copied to clipboard

This error is applicable only for Huawei devices. This device is currently unsupported by the Fairmatic SDK.

Link copied to clipboard

The driver id provided during SDK setup is invalid.

Link copied to clipboard

Sdk key not found/fleet is not active / fleet not found

Link copied to clipboard

Fleet size limit exceeded 100000

Link copied to clipboard

Driver Deleted

Inherited properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.