MapTrip SDK Android Manual 9.9.7
LaneInfoHelper Class Reference

Classes

class  LaneArrow
 
class  LaneDivider
 
class  LaneObject
 
enum  LaneObjectEnum
 

Public Member Functions

String getAllArrows ()
 
String getDividers ()
 
List< LaneObjectgetLaneObjects ()
 
String getRelevantArrows ()
 
boolean isEmpty ()
 
 LaneInfoHelper (String allArrows, String dividers, String relevantArrows)
 

Detailed Description

Helper class for lane information notified by NavigationListener#laneInfoReceived(String, String, String) It generates a list of structured LaneObjects from the string representation of the sdk callbacks

Constructor & Destructor Documentation

◆ LaneInfoHelper()

LaneInfoHelper ( String  allArrows,
String  dividers,
String  relevantArrows 
)
Parameters
allArrows- string from sdk callback describing lane arrows
dividers- string from sdk callback describing lane diiders
relevantArrows- string from sdk callback describing arrows

Member Function Documentation

◆ getAllArrows()

String getAllArrows ( )
Returns
String description of all arrows

◆ getDividers()

String getDividers ( )
Returns
String description of the dividers

◆ getLaneObjects()

List< LaneObject > getLaneObjects ( )
Returns
LaneObject list created from the parsed String representations

◆ getRelevantArrows()

String getRelevantArrows ( )
Returns
String decscription of relevant arrows

◆ isEmpty()

boolean isEmpty ( )
Returns
true if no lane info is there

The documentation for this class was generated from the following file: