public class NavigationCueHandler extends RouteDetailHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
static java.lang.String |
TAG |
static java.lang.String |
TEXT_CUE |
static java.lang.String |
TRIGGER_MODE |
static java.lang.String |
TRIGGER_VALUE |
static java.lang.String |
VOICE_CUE |
_subName
Constructor and Description |
---|
NavigationCueHandler() |
Modifier and Type | Method and Description |
---|---|
CotDetail |
toCotDetail(Route route)
Create route detail element (under "__routeInfo")
|
CommsMapComponent.ImportResult |
toRouteMetadata(Route route,
CotDetail navCues)
Convert sub-detail node to route metadata
|
isSupported, toCotDetail, toItemMetadata
getDetailNames, getMapItem, getPoint, parseDouble, parseInt
public static final java.lang.String TAG
public static final java.lang.String ID
public static final java.lang.String VOICE_CUE
public static final java.lang.String TEXT_CUE
public static final java.lang.String TRIGGER_MODE
public static final java.lang.String TRIGGER_VALUE
public CotDetail toCotDetail(Route route)
RouteDetailHandler
toCotDetail
in class RouteDetailHandler
route
- Routepublic CommsMapComponent.ImportResult toRouteMetadata(Route route, CotDetail navCues)
RouteDetailHandler
toRouteMetadata
in class RouteDetailHandler
route
- RoutenavCues
- The sub-detail node (same name as passed into ctor)