Android SDK change log from version 2.3.0 to version 2.4.0

com.skobbler.ngx

Added classes:

Config
SKMaps.SKLanguage

SKCoordinate

Removed method:

double getAltitude()
String getDescription()
String getName()
long getTime()
void setAltitude(double)
void setDescription(String)
void setName(String)
void setTime(long)

Added methods:

SKCoordinate copyOf(SKCoordinate)

SKMaps

Removed method:

boolean setAudioAdvisorSettings(SKAdvisorSettings)

SKMapInitSettings

Removed method:

boolean isFcdEnabled

SKMapInitSettings

Added constructor:

SKMapInitializationException(String)

Removed methods:

public String getMessage()

com.skobbler.ngx.map

Removed class:

SKAnnotationText

Added classes:

SKElevationListener
SKMapInternationalizationSettings. SKMapInternationalizationOption
SKMapViewStyle.SKDisplayDensity
SKMapViewStyle.SKMapStyleDetail

SKAnnotation

Changed constructor:

SKAnnotation(int) – uniqueID

SKCalloutView

Added methods:

int getMinimumZoomLevel()
void setMinimumZoomLevel()

SKCircle

Added methods:

int getIdentifier()
void setIdentifier(int identifier)

SKPolygon

Added methods:

int getIdentifier()
void setIdentifier(int identifier)

SKPolyline

Added methods:

int getIdentifier()
void setIdentifier(int identifier)

SKMapInternationalizationSettings

Changed methods:

SKLanguage getFallbackLanugage 
SKMapInternationalizationOption getFirstLabelOption
SKLanguage getPrimaryLanguage
SKMapInternationalizationOption getSecondLabelOption
void setFallbackLanguage(SKLanguage)
void setFirstLabelOption(SKMapInternationalizationOption)
void setPrimaryLanguage(SKLanguage)
void setSecondLabelOption(SKMapInternationalizationOption)

Removed fields:

byte MAP_LANGUAGE_DE
byte MAP_LANGUAGE_EN
byte MAP_LANGUAGE_ES
byte MAP_LANGUAGE_FR
byte MAP_LANGUAGE_IT
byte MAP_LANGUAGE_LOCAL
byte MAP_LANGUAGE_OPTION_INTL
byte MAP_LANGUAGE_OPTION_LOCAL
byte MAP_LANGUAGE_OPTION_NONE
byte MAP_LANGUAGE_OPTION_TRANSLIT
byte MAP_LANGUAGE_RU
byte MAP_LANGUAGE_TR

SKMapSettings

Added methods:

float[] getZoomLimits 
void setZoomLimits(float, float)

SKMapSurfaceListener

Removed methods:

void onOffportRequestCompleted(int) – renamed into
void onBoundingBoxImageRendered(int)

Removed methods:

void onBoundingBoxImageRendered(int)
void onGLInitializationError(String)

SKMapSurfaceView

Removed methods:

void setSurfaceCreatedCalled(boolean)

Added methods:

SKMapSurfaceListener getMapSurfaceListener()
void requestElevationAtPosition(SKCoordinate)
void setCurrentPositionCustomIcon(String)
void setCurrentPositionIconFromDrawable(int,int,int)
void setCurrentPositionIconFromView(View)
void setElevationListener(SKElevationListener)
void showCurrentPositionIconForCCp(boolean) – 
void showHeadingIndicator(boolean)

Changed methods:

boolean displayRealReachWithSettings(SKRealReachSettings)
void fitRealReachInView(SKBoundingBox, boolean, int)
boolean addPolygon(final SKPolygon polygon)
boolean addCircle(SKCircle circle)
boolean addPolyline(SKPolyline polyline)

Added fields:

boolean preserveGLContext

SKCalloutView

Added methods:

int getMinimumZoomLevel()
void  setMinimumZoomLevel(int)

SKMapViewHolder

Removed methods:

void hideOSMTextView()

SKMapViewStyle

Removed constructors:

SKMapViewStyle(String , String , byte)

Added constructors:

SKMapViewStyle(String, String,  SKMapStyleDetail, SKDisplayDensity)

Added methods:

SKDisplayDensity getDisplayPixelDensity()
void setDisplayDensity(SKDisplayDensity)

Changed methods:

SKMapStyleDetail getStyleDetail () – changed return type from byte to SKMapStyleDetail

void setStyleDetail(SKMapStyleDetail) – changed signature from byte to SKMapStyleDetail

Removed fields:

byte STYLE_DETAIL_HIGH
byte STYLE_DETAIL_LOW
byte STYLE_DETAIL_MEDIUM

com.skobbler.ngx.map.realreach

SKRealReachListener

Changed methods:

void onRealReachCalculationCompleted(SKBoudingBox)

SKRealReachSettings

Removed methods:

double getLatitude()
double getLongitude()
boolean isAvoidFerryLines()
boolean isRealPosition()
void setAvoidFerryLines(boolean)
void setLatitude(double)
void setLongitude(double)
void setRealPosition(boolean)

Added methods:

SKCoodinate getLocation()
void setLocation(SKCoordinate)
String toString()

com.skobbler.ngx.navigation

Added classes:

SKAdvisorSettings.SKAdvisorLanguage
SKAdvisorSettings.SKAdvisorType
SKNavigationSettings.SKNavigationMode
SKNavigationSettings.SKNavigationType

SKAdvisorSettings

Added methods:

String getAdvisorConfigPath()
SKAdvisorType getAdvisorType()
void setAdvisorConfigPath()
void setAdvisorType(SKAdvisorType)
String toString()

Changed methods:

SKAdvisorLanguage getLanguage()
void setLanguage(SKAdvisorLanguage)

SKNavigationListener

Removed methods:

void onSignalNewAdvice(String[] , boolean)
void onSpeedExceeded(String[], boolean)

Added methods:

void onSignalNewAdviceWithAudioFiles(String[] , boolean)
void onSignalNewAdviceWithInstruction(String)
void onSpeedExceededWithAudioFiles(String[], boolean)
void onSpeedExceededWithInstruction(String, boolean)
void onViaPointReached(int)

Changed methods:

void onFreeDriveUpdated(String,String, SKStreetType, double, double)

SKNavigationManager

Removed methods:

boolean isNavigationMode()

Added methods:

int getNavigationMode()

SKNavigationSettings

Added methods:

SKNavigationMode getNavigationMode()
SKTrailType getTrailType()
boolean isCcpAsCurrentPosition()
boolean isFcdEnabled()
void setCppAsCurrentPosition(boolean)
void setNavigationMode(SKNavigationMode)
void setTrailType(SKTrailType)

Changed methods:

SKNavigationType getNavigationType()
void setNavigationType()

Removed fields:

byte NAVIGATION_TYPE_FILE
byte NAVIGATION_TYPE_REAL
byte NAVIGATION_TYPE_SIMULATION

SKNavigationState

ArrayList getViaPointsInfo()
void setViaPointsInfo(ArrayList)

com.skobbler.ngx.packages

SKPackageURLInfo

Added methods:

String getNgiDatFileURL();
String getNgiFileURL();
void setNgiDatFileURL(String)
void setNgiFileURL(String)

com.skobbler.ngx.poitracker

SKTrackablePOI

Added constructors:

SKTrackablePOI(int,int. SKCoordinate, double, String)

Removed methods:

double getLatitude();
double getLongitude()
void setLatitude(double)
void setLongitude(double)

Added methods:

SKCoordinate getCoordinate()
void setCoordinate()

SKPosition

Added constructors:

SKPosition(SKCoordinate)
SKPosition(double , double, double)

Added methods:

SKCoordinate getCoordinate()
void setCoordinate()

com.skobbler.ngx.routing

Added classes:

SKRouteListener.SKRoutingErrorCode
SKRouteSettings.SKRouteConnectionMode
SKRouteSettings.SKRouteMode
SKViaPoint
SKViaPointInfo

SKRouteAlternativeSettings

Changed constructors:

SKRouteAlternativeSettings(SKRouteMode)

Changed methods:

SKRouteMode getRouteMode()

SKRouteInfo

Changed constructors:

SKRouteInfo(int,int,int,int, boolean, boolean, boolean, boolean, boolean, ArrayList<SKViaPointInfo)

Removed methods:

Int getLength()
Int getTotalDuration()
Int getTotalDurationWithoutTraffic()
Int getUniqueId()
void setUniqueId()

Added methods:

int getDistance()
int getEstimatedTime()
int getEstimatedTimeWithoutTraffic();
int getRouteID()
ArrayList<SKViaPointInfo) getViaPointsInfo()
Boolean isCorridorDownloaded()
void setCorridorDownloaded()
void setDistance(int)
void setEstimatedTime(int)
void setEstimatedTimeWithoutTraffic(int) ?????
void setRouteID(int)
void setViaPointsInfo(ArrayList<SKViaPointInfo>)

SKRouteListener

Added methods:

void onRouteCalculationFailed(SKRoutingErrorCode)

Changed methods:

void onRouteCalculationCompleted(SKRouteInfo)
void onServerLikeCalculationCompleted(SKRouteJsonAnswer)

Removed fields:

int ROUTE_APP_OFFLINE
int ROUTE_CANNOT_BE_CALCULATED
int ROUTE_IDENTICAL_ALTERNATIVE
Int ROUTE_INTERNAL_ERROR
int ROUTE_INTERNET_IS_TURNED_OFF
int ROUTE_INVALID_DESTINATION
int ROUTE_INVALID_START
int ROUTE_INVALID_VIA_POINT
int ROUTE_NO_RESULTS_FOUND
int ROUTE_SAME_START_AND_DESTINATION
int ROUTE_SUCCESS

SKRouteManager

void addViaPoint(SKViaPoint, int)
void calculateRouteWithPoints(List, SKRouteSettings)
void enablePedestrianTrail(boolean, int)
SKAdvisorSettings getAudioAdvisorSettings()
void removeViaPoint(int)
boolean renderRouteAsPedestrian()
boolean setAudioAdvisorSettings(SKAdvisorSettings)

Changed methods:

boolean createRouteFromTrackElement(SKTrackElement , SKRouteMode, boolean, boolean, boolean)

SKRouteSettings

Added methods:

List getViaPoints()
void setViaPoints(List)

Changed methods:

SKRouteConnectionMode getRouteConnectionMode()
SKRouteMode getRouteMode()
void setRouteConnectionMode(SKRouteConnectionMode)
void setRouteMode(SKRouteMode)

Removed fields:

Byte SKROUTE_BICYCLE_FASTEST
Byte SKROUTE_BICYCLE_QUIETEST
byte SKROUTE_BICYCLE_SHORTEST
byte SKROUTE_CAR_FASTEST
byte SKROUTE_CAR_SHORTEST
byte SKROUTE_CONNECTION_HYBRID
byte SKROUTE_CONNECTION_OFFLINE
byte SKROUTE_CONNECTION_ONLINE
byte SKROUTE_EFFICIENT
byte SKROUTE_PEDESTRIAN

com.skobbler.ngx.search

Added classes:

SKNearbySearchSettings.SKSearchResultSortType
SKNearbySearchSettings.SKSearchType

SKAddressSearchSettings

Added methods:

SKLanguage getSearchLanguage()
void setSearchLanguage(SKSearchLanguage)

SKMultiStepSearchSettings

SKLanguage getSearchLanguage()
void setSearchLanguage(SKLanguage)

SKNearbySearchSettings

Added methods:

SKLanguage getSearchLanguage()
void setSearchLanguage(SKLanguage)

Changed methods:

SKSearchResultSortType getSearchResultSortType()
SKSearchType getSearchType();
Void setSearchResultSortType(SKSearchResultSortType)
Void setSearchType(SKSearchType)

Removed fields:

int SK_SEARCH_MATCH_SORT
int SK_SEARCH_PROXIMITY_SORT
int SK_SEARCH_TYPE_POIS
int SK_SEARCH_TYPE_POIS_STREETS
int SK_SEARCH_TYPE_STREETS

SKOnelineSearchSettings

Added methods:

SKLanguage getSearchLanguage()
void setSearchLanguage()

com.skobbler.ngx.trail

SKTrailManager

Removed methods:

void setMapView(SKMapSurfaceView)

Added methods:

void setLogTrail(boolean)

SKTrailType

Added constructors:

SKTrailType()

Changed constructors:

SKTrailType(boolean, float[], int)

Added methods:

int getSmoothLevel()
boolean isPedestrianTrailEnabled()
void setPedestrianTrailEnabled(boolean, int)

com.skobbler.ngx.util

Removed classes:

SKStreamReader

SKUtils

Added methods:

SKDisplayDensity getDisplayDensity(float)

Changed methods:

SKMapStyleDetail getStyleDetailForDevice
Bitmap viewToBitmap(View)