package

com.steerpath.sdk.utils

Helpers and tools.

Interfaces

CompassUtils.Listener Invoked when sensor accuracy stawtus  
Foreground.Listener The listener for receiving notification when app has been backgrounded or foregrounded. 
LocalizationHelper.Translator Simple interface definition for translating strings that are coming from the Steerpath backend instead of application resources. 

Classes

CompassUtils CompassUtils notifies if compass calibration is required. 
FifoBuffer<T> FifoBuffer pushes firstly added item when size limit is exceeded. 
Foreground Singleton that detects when app goes to background and foreground. 
GeoJsonHelper Helpers and utils for Features and GeoJson. 
LocalizationHelper For example,RouteStepViewHolder may present following text: "take minibus to terminal" where general format is to
LocalizationHelper.DefaultTranslator DefaultTranslator can be subclassed. 
PermissionActivity PermissionActivity requests missing Runtime Permissions and broadcasts BROADCAST_PERMISSIONS_RESULT when ready. 
PermissionChecker Checks Runtime Permissions and launches PermissionActivity if needed. 
ResourceMapper Resolves Android Resource (@DrawableRes or @StringRes) from the resource name (String).