Android SDK change log from version 2.4.0 to version 2.5.0

com.skobbler.ngx

Removed package:

com.skobbler.ngx.tile

SKMaps

Changed methods:

void initializeSKMaps (Context, SKMapsInitSettings, String)
changed to
void initializeSKMaps (Context, SKMapsInitSettings)

com.skobbler.ngx.map

Added classes:

SKMapFragment
SK3DCameraSettings

SKAnnotation

Deprecated methods:

String getImagePath()
int getImageSize()
void setImagePath(String)
void setImageSize(int)

SKAnnotationView

Deprecated methods:

int getDrawableResourceId()
int getHeight()
int getWidth()
void setDrawableResourceId(int)
void setHeight(int)
void setWidth(int)

SKMapSettings

Added methods:

boolean isTerrainDisabledIfNoElevation()
boolean isTerrainEnabled()
void setTerrainDisabledIfNoElevation(boolean)
void setTerrainEnabled(boolean)
String toString()
SK3DCameraSettings getCameraSettings()
void setCameraSettings(SK3DCameraSettings)

SKMapSurfaceListener

Removed methods:

void onScreenOrientationChanged()

Changed methods:

void onSurfaceCreated()
changed to
void onSurfaceCreated(SKMapViewHolder)

SKMapSurfaceView

Removed methods:

boolean setCCPPulseAnimation(SKPulseAnimationSettings)
boolean stopPulseAnimation()

Added methods:

int getCompassImageSize()
boolean isMapSurfaceCreated()
boolean setCurrentPositionIconPulseAnimation(SKPulseAnimationSettings)
boolean stopCurrentPositionIconPulseAnimation()

Deprecated methods:

void setCurrentPositionCustomIcon(String)
void setCurrentPositionIconFromDrawable(int, int, int)
void setMapSurfaceListener(SKMapSurfaceListener) - changed visibility from public to protected

Added fields:

boolean transparentMapView

SKMapViewHolder

Added methods:

void onPause()
void onResume()
void removeMapNotReadyLayout()
void setMapSurfaceListener(SKMapSurfaceListener)

com.skobbler.ngx.realreach

Added classes:

SKRealReachSettings.SKRealReachMeasurementUnit
SKRealReachSettings.SKRealReachVehicleType

SKRealReachSettings

Added methods:

boolean isRoundTrip()
void setRoundTrip(boolean)
SKRouteConnectionMode getConnectionMode()
void setConnectionMode(SKRouteConnectionMode)

Changed methods:

byte getMeasurementUnit() - changed to - SKRealReachMeasurementUnit getMeasurementUnit()
byte getTransportMode() - changed to - SKRealReachVehicleType getTransportMode()
void setMeasurementUnit(byte) - changed to - void setMeasurementUnit(SKRealReachMeasurementUnit)
void setTransportMode(byte) - changed to - void setTransportMode(SKRealReachVehicleType)

Removed fields:

byte UNIT_METER
byte UNIT_MILIWATT_HOURS
byte UNIT_SECOND
byte VEHICLE_TYPE_BICYCLE
byte VEHICLE_TYPE_CAR
byte VEHICLE_TYPE_PEDESTRIAN

com.skobbler.ngx.routing

Removed class:

SKJsonRoute

SKRouteAdvice

Changed constructor:

SKRouteAdvice(int, int, int, int, int, String, String, String, double, double, String[])
changed to
SKRouteAdvice(int, int, int, int, int, int, int, String, String, String, double, double, String[])

Added methods:

SKStreetType getCurrentStreetType()
void setCurrentStreetType(SKStreetType)
SKFunctionalClassification getCurrentStreetFCClass()
void setCurrentStreetFCClass(SKFunctionalClasification)

SKViaPointInfo

Changed constructor:

SKViaPointInfo(int, int, int)
changed to
SKViaPointInfo(int, int, int, float, float, float, float)

Added methods:

SKCoordinate getMatchedPosition()
SKCoordinate getPosition()
void setMatchedPosition(SKCoordinate)
void setPosition(SKCoordinate)

com.skobbler.ngx.search

SKNearbySearchSettings

Changed methods:

int getRadius()
changed to
short getRadius()

void setRadius(int)
changed to
void setRadius(short)

com.skobbler.ngx.util

Renamed class SKComputingDistance to SKGeoUtils

Removed class SKFileUtils

SKUtils

Removed methods:

SKProxySettings getProxy()
Bitmap viewToBitmap(View)