Package com.sygic.sdk

Types

AppendersDsl
Link copied to clipboard
annotation class AppendersDsl
Audio
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Audio(@Json(name = "SoundSettings"soundSettings: Audio.SoundSettings?)
AudioDsl
Link copied to clipboard
annotation class AudioDsl
AudioFlagSettingsAdapter
Link copied to clipboard
object AudioFlagSettingsAdapter
Authentication
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Authentication(@Json(name = "app_key"appKey: String, @Json(name = "app_secret"appSecret: String?)
BaseNativeParcelable
Link copied to clipboard
abstract class BaseNativeParcelable : Parcelable
InitializationCallback
Link copied to clipboard
interface InitializationCallback<T>
License
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class License(@Json(name = "license_key"licenseKey: String)
LoggingItemDsl
Link copied to clipboard
annotation class LoggingItemDsl
LoggingSettings
Link copied to clipboard
data class LoggingSettings(loggingItems: List<LoggingSettings.LoggingItem>)
LoggingSettingsAdapter
Link copied to clipboard
object LoggingSettingsAdapter
LogLevelAdapter
Link copied to clipboard
object LogLevelAdapter
MapReaderSettings
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class MapReaderSettings(@Json(name = "file_handling"fileHandling: MapReaderSettings.FileHandling?, @Json(name = "startup_poi_provider"startupPoiProvider: MapReaderSettings.StartupPoiProvider?, @Json(name = "memory_mapped_file_extension"memoryMappedFileExtension: List<String>?, @Json(name = "startup_online_maps_enabled"startupOnlineMapsEnabled: Boolean?)
MapSettings
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class MapSettings(@Json(name = "breadcrumbs_enabled"breadCrumbsEnabled: Boolean?, @Json(name = "heightmap_enabled"heightmapEnabled: Boolean?, @Json(name = "normalmap_enabled"normalmapEnabled: Boolean?)
NativeMethodsReceiver
Link copied to clipboard
abstract class NativeMethodsReceiver
Navigation
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Navigation(@Json(name = "WarningSettings"warningSettings: Navigation.WarningSettings?, @Json(name = "EvSettings"evSettings: Navigation.EvSettings?, @Json(name = "ScoutSettings"scoutSettings: Navigation.ScoutSettings?)
NavigationDsl
Link copied to clipboard
annotation class NavigationDsl
Online
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Online(@Json(name = "General"general: Online.General?, @Json(name = "SSOSession"sSOSession: Online.SSOSession?, @Json(name = "ProductServer"productServer: Online.ProductServer?, @Json(name = "Routing"routing: Online.Routing?, @Json(name = "Search"search: Online.Search?, @Json(name = "Places"places: Online.Places?, @Json(name = "SpeedCameras"speedCameras: Online.SpeedCameras?, @Json(name = "Incidents"incidents: Online.Incidents?, @Json(name = "Traffic"traffic: Online.Traffic?, @Json(name = "OfflineMapsApi"offlineMapsApi: Online.OfflineMapsApi?, @Json(name = "Voices"voices: Online.Voices?)
OnlineDsl
Link copied to clipboard
annotation class OnlineDsl
OperationStatus
Link copied to clipboard
open class OperationStatus
PositionSettings
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class PositionSettings(@Json(name = "Matching"matching: PositionSettings.Matching?)
Routing
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Routing(@Json(name = "route_compute_type"routeComputeType: Routing.RouteComputeType?, vehicle: Routing.Vehicle?, service: Routing.Service?, @Json(name = "fuel_type"fuelType: Routing.FuelType?, @Json(name = "emissionCategory"emissionCategory: Routing.EmissionCategory?, @Json(name = "vehicle_max_speed"vehicleMaxSpeed: Int?, @Json(name = "recompute_iteration"recomputeIteration: Int?, @Json(name = "max_recompute_count"maxRecomputeCount: Int?, @Json(name = "recompute_distance"recomputeDistance: Int?, @Json(name = "load_restrictions"loadRestrictions: Int?, trailers: Int?, @Json(name = "trailer_axles"trailerAxles: Int?, @Json(name = "vehicle_axles"vehicleAxles: Int?, @Json(name = "manufactureYear"manufactureYear: Int?, @Json(name = "avoid_parkways"avoidParkways: Boolean?, @Json(name = "arrive_in_direction"arriveInDirection: Boolean?, @Json(name = "generate_extended_info"generateExtendedInfo: Boolean?, @Json(name = "compute_alternatives"computeAlternatives: Boolean?, @Json(name = "avoid_toll_roads"avoidTollRoads: Boolean?, @Json(name = "avoid_motorways"avoidMotorways: Boolean?, @Json(name = "avoid_special_areas"avoidSpecialAreas: Boolean?, @Json(name = "avoid_unpaved_roads"avoidUnpavedRoads: Boolean?, @Json(name = "avoid_ferries"avoidFerries: Boolean?, @Json(name = "speed_profiles"speedProfiles: Boolean?, @Json(name = "use_traffic"useTraffic: Boolean?, @Json(name = "vehicle_restrictions"vehicleRestrictions: Routing.VehicleRestrictionsSettings?, @Json(name = "turn_preference_setting"turnPreferenceSetting: Routing.TurnPreferenceSetting?)
Server
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class Server(@Json(name = "is_on_server"isOnServer: Boolean?)
StorageFolders
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class StorageFolders(@Json(name = "root_path"rootPath: String?, @Json(name = "override_path"overridePath: String?, resources: String?, maps: String?, cache: String?, binaries: String?, skin: String?, voices: String?, sounds: String?)
SygicEngine
Link copied to clipboard
object SygicEngine

Use this interface to set mandatory authentication credentials. You have to set the app-key in order to use the APIs contained within this SDK. Some APIs may appear to work without valid credentials but they may stop functioning in the near future when server side configurations change, so please always obtain and use valid credentials.

SygicJsonConfig
Link copied to clipboard
@JsonClass(generateAdapter = true)
data class SygicJsonConfig(@Json(name = "Authentication"authentication: Authentication?, @Json(name = "StorageFolders"storageFolders: StorageFolders?, @Json(name = "Server"server: Server?, @Json(name = "MapReaderSettings"mapReaderSettings: MapReaderSettings?, @Json(name = "Online"online: Online?, @Json(name = "Routing"routing: Routing?, @Json(name = "Navigation"navigation: Navigation?, @Json(name = "Audio"audio: Audio?, @Json(name = "Logging"logging: LoggingSettings?, @Json(name = "Map"mapSettings: MapSettings?, @Json(name = "License"license: License?, @Json(name = "Position"positionSettings: PositionSettings?)
SygicJsonConfigDsl
Link copied to clipboard
annotation class SygicJsonConfigDsl
VehicleRestrictionsAdapter
Link copied to clipboard
object VehicleRestrictionsAdapter

Functions

buildJsonConfig
Link copied to clipboard
inline fun buildJsonConfig(jsonConfig: String? = null, buildJsonConfig: SygicEngine.JsonConfigBuilder.() -> Unit): String