PMCommandRequest

data class PMCommandRequest(val correlationId: String? = null, val action: PMAction, val position: PMGeoPosition? = null, val positions: List<PMGeoPosition>? = null, val locationInfo: PMLocationInfo? = null, val search: PMSearch? = null, val calculateRoute: PMCalculateRoute? = null, val startGuidance: PMStartGuidance? = null, val mapMode: PMSetMapMode? = null, val guidancePrompt: PMGuidancePrompt, val mapCamera: PMMapCamera, val argStr: String? = null, val argBool: Boolean = false, val argStrs: List<String>? = null, val itinerary: PMCmdItinerary? = null, val navigationReportRequest: PMCmdNavigationReportRequest? = null, val mapUpdateRequest: PMCmdMapUpdateRequest? = null, val routeOptions: List<PMSetRouteOption>? = null)

Represents request of user speech to a command containing context for Profi Navi

Constructors

Link copied to clipboard
fun PMCommandRequest(correlationId: String? = null, action: PMAction, position: PMGeoPosition? = null, positions: List<PMGeoPosition>? = null, locationInfo: PMLocationInfo? = null, search: PMSearch? = null, calculateRoute: PMCalculateRoute? = null, startGuidance: PMStartGuidance? = null, mapMode: PMSetMapMode? = null, guidancePrompt: PMGuidancePrompt, mapCamera: PMMapCamera, argStr: String? = null, argBool: Boolean = false, argStrs: List<String>? = null, itinerary: PMCmdItinerary? = null, navigationReportRequest: PMCmdNavigationReportRequest? = null, mapUpdateRequest: PMCmdMapUpdateRequest? = null, routeOptions: List<PMSetRouteOption>? = null)

Properties

Link copied to clipboard

Defines action which the user wants to be triggered by Profi Navi
Default value is PMAction.NaviNoOp

Link copied to clipboard
val argBool: Boolean = false

Used to enrich action with true/false paremeter

Link copied to clipboard
val argStr: String? = null

Used to enrich action with custom text, f.e. recognized address by speech recognition

Link copied to clipboard
val argStrs: List<String>? = null

Used to enrich action with several custom texts

Link copied to clipboard

Used with action which starts route calculation

Link copied to clipboard
val correlationId: String? = null

Defines attribute used for correlating messages within different asynchronous calls

Link copied to clipboard

Used with action which controls guidance prompt
Default value is PMGuidancePrompt.Unmute

Link copied to clipboard

Itinerary to be used

Link copied to clipboard

Used with action which provides location info

Link copied to clipboard

Used with action which controls map camera setting
Default value is PMMapCamera.Reset

Link copied to clipboard
val mapMode: PMSetMapMode? = null

Used with action which sets map mode

Link copied to clipboard

Request for map update

Link copied to clipboard

request to send report about status of current route

Link copied to clipboard
val position: PMGeoPosition? = null

Used with action which provides position

Link copied to clipboard

Used with action which provides array of positions

Link copied to clipboard

Route option to be set

Link copied to clipboard
val search: PMSearch? = null

Used with action which starts search

Link copied to clipboard

Used with action which starts guidance