MapTrip SDK Android Manual 9.10.8
 
Loading...
Searching...
No Matches
ApiError Enum Reference

Public Member Functions

int getIntVal ()
 

Static Public Member Functions

static ApiError getByInt (int intVal)
 

Public Attributes

 ASYNC_OPERATION_STILL_RUNNING =(-45)
 
 CONFIGURATION =(-57)
 
 COORD_CONVERSION =(-10)
 
 DATA_SERVER_CLIENT_INIT_FAILED =(-50)
 
 DATASET_INSTALLATION_FAILED =(-51)
 
 DEVICE_NOT_READY =(-17)
 
 FILE_SYSTEM =(-5)
 
 GENERAL_ERROR =(-19)
 
 GEOCODING =(-9)
 
 INFOMATION_NO_UPDATE_NEEDED =(2000)
 
 INTERNAL =(-25)
 
 INVALID_LAYER_SET =(-15)
 
 INVALID_OBJECT =(-29)
 
 LICENCE_RESTRICTION =(-53)
 
 MAP_INVALID_OBLV_LEVEL =(-41)
 
 MAP_RELEASE_TOO_OLD =(-62)
 
 MAPMATCHING =(-52)
 
 MAPVIEWER =(-34)
 
 NETWORK =(-14)
 
 NETWORK_DISABLED =(-54)
 
 NETWORK_TIMEOUT =(-21)
 
 NO_ALTERNATIVE_ROUTES_WITH_MORE_THAN_TWO_STATIONS =(-59)
 
 NO_ALTERNATIVE_ROUTES_WITH_REFERENCE_ROUTE =(-58)
 
 NO_LICENCE =(-13)
 
 NO_ROUTE =(-11)
 
 NO_ROUTE_BYPASSING_TRAFFIC_JAM =(-42)
 
 NOT_ENOUGH_STATIONS =(-32)
 
 NOT_IMPLEMENTED =(-12)
 
 NOT_INITIALIZED =(-16)
 
 OBJ_NOT_FOUND =(-1)
 
 OFFROAD =(-47)
 
 OK =(0)
 
 OPERATION_CANCELLED =(-18)
 
 OPERATION_INVALID =(-44)
 
 OUT_OF_RANGE =(-33)
 
 ROUTING =(-8)
 
 ROUTING_MEMORY_ALLOCATION =(-48)
 
 ROUTING_STATION_INITIALIZATION =(-61)
 
 ROUTING_TERR_NOT_CONNECTED =(-56)
 
 SERVER =(-55)
 
 SOUND_PLAYER =(-2)
 
 TOO_MANY_STATIONS =(-46)
 
 TOO_MANY_TASKS =(-49)
 
 UNKNOWN_POI_CAT =(-35)
 
 VEHICLE_PROFILE_NOT_AVAILABLE =(-60)
 
 VHP_IS_READ_ONLY =(-40)
 
 WARNING_GPS_INIT =(1001)
 
 WARNING_ROUTE_OBST_FOUND =(100)
 
 WRONG_HANDLE_TYPE =(-30)
 
 WRONG_PARAM =(-3)
 
 WRONG_PATH =(-6)
 

Detailed Description

enum type for general api error codes.

Member Function Documentation

◆ getByInt()

static ApiError getByInt ( int  intVal)
static

◆ getIntVal()

int getIntVal ( )

Member Data Documentation

◆ ASYNC_OPERATION_STILL_RUNNING

ASYNC_OPERATION_STILL_RUNNING =(-45)

Wait until the operation is finished, see Task

◆ CONFIGURATION

CONFIGURATION =(-57)

◆ COORD_CONVERSION

COORD_CONVERSION =(-10)

◆ DATA_SERVER_CLIENT_INIT_FAILED

DATA_SERVER_CLIENT_INIT_FAILED =(-50)

The initialization of the data server client failed. There is probably no DataServerClientConfig.xml in the application folder.

◆ DATASET_INSTALLATION_FAILED

DATASET_INSTALLATION_FAILED =(-51)

The installation of a DataSet has been failed. You have to reinstall the DataSet. See DataSet.

◆ DEVICE_NOT_READY

DEVICE_NOT_READY =(-17)

◆ FILE_SYSTEM

FILE_SYSTEM =(-5)

◆ GENERAL_ERROR

GENERAL_ERROR =(-19)

any other unspecified error.

◆ GEOCODING

GEOCODING =(-9)

◆ INFOMATION_NO_UPDATE_NEEDED

INFOMATION_NO_UPDATE_NEEDED =(2000)

information: the update operation has succeeds, but there is nothing to update.

◆ INTERNAL

INTERNAL =(-25)

any other internal error.

◆ INVALID_LAYER_SET

INVALID_LAYER_SET =(-15)

◆ INVALID_OBJECT

INVALID_OBJECT =(-29)

the object is not valid. Common causes: the object has never been initialized or has been deleted during an api uninitialization

◆ LICENCE_RESTRICTION

LICENCE_RESTRICTION =(-53)

◆ MAP_INVALID_OBLV_LEVEL

MAP_INVALID_OBLV_LEVEL =(-41)

Invalid zoom level for oblique view.

◆ MAP_RELEASE_TOO_OLD

MAP_RELEASE_TOO_OLD =(-62)

The map release is too old for this SDK version. Please update the map data.

◆ MAPMATCHING

MAPMATCHING =(-52)

◆ MAPVIEWER

MAPVIEWER =(-34)

◆ NETWORK

NETWORK =(-14)

◆ NETWORK_DISABLED

NETWORK_DISABLED =(-54)

Network connection are disabled. See Api.enableNetworkConnections().

◆ NETWORK_TIMEOUT

NETWORK_TIMEOUT =(-21)

operation failed because of a timeout condition.

◆ NO_ALTERNATIVE_ROUTES_WITH_MORE_THAN_TWO_STATIONS

NO_ALTERNATIVE_ROUTES_WITH_MORE_THAN_TWO_STATIONS =(-59)

It is not possible to calculate alternative routes when more then two stations are given

◆ NO_ALTERNATIVE_ROUTES_WITH_REFERENCE_ROUTE

NO_ALTERNATIVE_ROUTES_WITH_REFERENCE_ROUTE =(-58)

It is not possible to calculate alternative routes with an active reference route

◆ NO_LICENCE

NO_LICENCE =(-13)

Your license file is not valid. Call Licence.getError() to get details. See MTA_LICENCE_ERROR for explanation.

◆ NO_ROUTE

NO_ROUTE =(-11)

◆ NO_ROUTE_BYPASSING_TRAFFIC_JAM

NO_ROUTE_BYPASSING_TRAFFIC_JAM =(-42)

There is no route that bypasses the traffic jam.

◆ NOT_ENOUGH_STATIONS

NOT_ENOUGH_STATIONS =(-32)

Route calculation needs at least two stations.

◆ NOT_IMPLEMENTED

NOT_IMPLEMENTED =(-12)

◆ NOT_INITIALIZED

NOT_INITIALIZED =(-16)

◆ OBJ_NOT_FOUND

OBJ_NOT_FOUND =(-1)

a search operation failed to find any item.

◆ OFFROAD

OFFROAD =(-47)

The requested functionality cannot be done, because the last matching is off road

◆ OK

OK =(0)

no error.

◆ OPERATION_CANCELLED

OPERATION_CANCELLED =(-18)

operation was canceled from outside before it could complete.

◆ OPERATION_INVALID

OPERATION_INVALID =(-44)

The function could not be called in this context.

◆ OUT_OF_RANGE

OUT_OF_RANGE =(-33)

◆ ROUTING

ROUTING =(-8)

◆ ROUTING_MEMORY_ALLOCATION

ROUTING_MEMORY_ALLOCATION =(-48)

The route cannot be calculated because cannot allocate memory

◆ ROUTING_STATION_INITIALIZATION

ROUTING_STATION_INITIALIZATION =(-61)

A station could not be initialized, most likely because there is no suitable road nearby

◆ ROUTING_TERR_NOT_CONNECTED

ROUTING_TERR_NOT_CONNECTED =(-56)

Route calculation failed because territories are not connected

◆ SERVER

SERVER =(-55)

◆ SOUND_PLAYER

SOUND_PLAYER =(-2)

sound and speech output error

◆ TOO_MANY_STATIONS

TOO_MANY_STATIONS =(-46)

Matrix calculation has a maximum amount of stations

◆ TOO_MANY_TASKS

TOO_MANY_TASKS =(-49)

Too many asynchronous operations are still running.

◆ UNKNOWN_POI_CAT

UNKNOWN_POI_CAT =(-35)

operation failed because there is no valid poi category.

◆ VEHICLE_PROFILE_NOT_AVAILABLE

VEHICLE_PROFILE_NOT_AVAILABLE =(-60)

There is no vehicle profile with the provided name

◆ VHP_IS_READ_ONLY

VHP_IS_READ_ONLY =(-40)

◆ WARNING_GPS_INIT

WARNING_GPS_INIT =(1001)

warning: the GPS could not be started.

◆ WARNING_ROUTE_OBST_FOUND

WARNING_ROUTE_OBST_FOUND =(100)

warning: Obstacles found

◆ WRONG_HANDLE_TYPE

WRONG_HANDLE_TYPE =(-30)

◆ WRONG_PARAM

WRONG_PARAM =(-3)

◆ WRONG_PATH

WRONG_PATH =(-6)

The documentation for this enum was generated from the following file: