Sdk Settings
SdkSettings object
Properties
Checks if the connection is allowed or not.
The application authorization API token The HTTP services are available through this API token Returns empty if no valid authorization API token is used
Application name
Decimal separator.
The device model.
The device name.
Digit group separator
True if worldwideRoadMapSupportStatus is EOffboardListenerStatus.UpToDate else false.
Verifies that application resources update is allowed. Returning true will allow the SDK to download and prepare the latest resources. Will be called on SdkCall
Gets the API language list.
The current setting for the map language selection.
The network service provider. The network service provider interface enables the API client to customize the network access. If this is set then the Magic Earth Engine will use it for network access.
Notifies that current API token was rejected Please check the API token availability or contact the MagicLane support
Notifies that current API token was updated This notifications will be available only for tokens updated internally via MagicEarth services
Notifies that the connection status changed. param connected Boolean Tells if the connection to the online services is established.
Notifies that the connection status changed. param connected Boolean Tells if the connection to the online services is established.
Notifies that the map data is ready to be used.
Notifies that offboard caches changed size cache size is provided in KB
Notifies that the application resources are ready to be deployed
Notifies that the world map online support is disabled Tiling, routing, traffic online support is disabled param reason EOffboardListenerReason - the reason
Notifies that world map online support is enabled Tiling, routing, traffic online support is enabled
Notifies about world map data online state param state EOffboardListenerStatus - status code
Notifies that current SDK doesn't support all world map online capabilities SDK can use the latest online world map version but the new map capabilities are disabled
Notifies that world map version was updated
Set maximum space to download tiles in Kb If maxSpace is 0 there are no restriction for tiles space
The unit system used by the Magic Earth Engine. This setting will affect the text of the route / navigation instructions and the voice instructions.
Functions
Check if the given service type is allowed on the extra charged network
Get application version 0 -> version, 1 -> subVersion, 2 -> revision
Finds the best voice match for the provided input( language code, region code)
Get transfer statistics for given service type
Returns true if the network is connected. Note: this should be used only if null listener had been provided to setAllowConnection.
True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object
Allow auto map updates setting.
Allow/deny internet connection.
Allow the given service type on the extra charged network type. By default all are allowed.
Set application version
Sets the API language
Sets the API language based on language ISO
Sets the current voice by specifying the path to the voice file. The voice can be chosen from a voice list provided by SdkSettings.getBestVoiceMatch methods.
Verifies an app token