-
- All Implemented Interfaces:
public interface TurnBubbleFeatureInterface defining operations for managing turn bubbles
Turn bubbles typically display directional instructions (e.g., "Turn left", "Keep right") and contextual information for upcoming maneuvers.
-
-
Method Summary
Modifier and Type Method Description abstract UnitenableTurnBubble(String routeId, Integer legIndex, Integer stepIndex, TurnType turnBubbleType, String nextStreetName)Enable and configure a turn bubble for a specific navigation step. abstract UnitdisableTurnBubble(String routeId, Integer legIndex, Integer stepIndex)Disable the turn bubble for a specific navigation step. abstract UnitdisableAllTurnBubbles()Disable all active turn bubbles across all routes and steps. -
-
Method Detail
-
enableTurnBubble
abstract Unit enableTurnBubble(String routeId, Integer legIndex, Integer stepIndex, TurnType turnBubbleType, String nextStreetName)
Enable and configure a turn bubble for a specific navigation step.
- Parameters:
routeId- Unique identifier for the active navigation routelegIndex- Index of the route legstepIndex- Index of the route stepturnBubbleType- Type of turn instruction to display (e.g.nextStreetName- Name of the upcoming street after the turn.
-
disableTurnBubble
abstract Unit disableTurnBubble(String routeId, Integer legIndex, Integer stepIndex)
Disable the turn bubble for a specific navigation step.
- Parameters:
routeId- Unique identifier for the active navigation routelegIndex- Index of the route legstepIndex- Index of the route step
-
disableAllTurnBubbles
abstract Unit disableAllTurnBubbles()
Disable all active turn bubbles across all routes and steps.
This should be used when:
stop the navigation
Resetting navigation state
Handling significant position updates
-
-
-
-