-
- All Implemented Interfaces:
public final class LiveDirection
This class is used to provide live directions to the user regarding the next steps they should take. It is used to populate the steps in the RouteHeaderView. To listen to live updates addListener to the active PathSession, and override the PathSessionListener.onPathSessionCalculatedLiveDirection callback.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
LiveDirection.Companion
-
Field Summary
Fields Modifier and Type Field Description private final LiveDirectionType
type
private final String
message
private final LiveDirectionMessageType
messageType
private final Double
distance
private final Double
time
private final NodeType
transitionType
private final Boolean
shouldDisplayDistance
private final CppSharedPtr
cppSharedPtr
-
Method Summary
Modifier and Type Method Description final LiveDirectionType
getType()
final String
getMessage()
final LiveDirectionMessageType
getMessageType()
final Double
getDistance()
final Double
getTime()
final NodeType
getTransitionType()
final Boolean
getShouldDisplayDistance()
final CppSharedPtr
getCppSharedPtr()
final Boolean
isSameExceptDistance(LiveDirection otherLiveDirection)
final Integer
getIcon()
-
-
Method Detail
-
getType
final LiveDirectionType getType()
-
getMessage
final String getMessage()
-
getMessageType
final LiveDirectionMessageType getMessageType()
-
getDistance
final Double getDistance()
-
getTransitionType
final NodeType getTransitionType()
-
getShouldDisplayDistance
final Boolean getShouldDisplayDistance()
-
getCppSharedPtr
final CppSharedPtr getCppSharedPtr()
-
isSameExceptDistance
final Boolean isSameExceptDistance(LiveDirection otherLiveDirection)
-
-
-
-