PMCmdClientIfc

interface PMCmdClientIfc

Interface for sending/receiving commands to sygic profi navi

Functions

Link copied to clipboard

Intent @see PMCommandRequest

Link copied to clipboard
open fun naviAddFavorite(correlationId: String, arg: PMLocationInfo): PMCommandRequest

Add new favorite

Link copied to clipboard
open fun naviAddOrUpdateItinerary(correlationId: String, itinerary: PMCmdItinerary): PMCommandRequest

Navigation add itinerary to the list managed by navigation

Link copied to clipboard
open fun naviAddWaypoint(correlationId: String, arg: PMGeoPosition): PMCommandRequest

Adds a waypoint to the active route

Link copied to clipboard

User wants to calculate distance to a position

Link copied to clipboard

User wants to calculate duration to a position

Link copied to clipboard

User wants to calculate route to a position

Link copied to clipboard
open fun naviCancel(correlationId: String): PMCommandRequest

User wants to cancel the previous action

Link copied to clipboard

Check for current navigation status

Link copied to clipboard
open fun naviCurrentPosition(correlationId: String): PMCommandRequest

Get current position of the vehicle

Link copied to clipboard
open fun naviGetActiveMapMode(correlationId: String): PMCommandRequest

Get active map modes

Link copied to clipboard

Get supported POI categories

Link copied to clipboard
open fun naviGetFavorites(correlationId: String): PMCommandRequest

Get user defined favorites

Link copied to clipboard
open fun naviGetItineraries(includeDetailedReport: Boolean): PMCommandRequest
open fun naviGetItineraries(correlationId: String, includeDetailedReport: Boolean): PMCommandRequest

List all itineraries managed by navigation

Link copied to clipboard

Get last searched / visited destinations

Link copied to clipboard

Request to get report about map download

Link copied to clipboard

Request to send current route status

Link copied to clipboard
open fun naviGetTrafficInfo(correlationId: String): PMCommandRequest

Request for getting traffic info for the current route

Link copied to clipboard
open fun naviGetWaypoints(correlationId: String): PMCommandRequest

Get list of waypoints for active route

Link copied to clipboard

User wants to change the guidance prompts setting

Link copied to clipboard
open fun naviLocationSet(correlationId: String): PMCommandRequest

Navigate to shown location

Link copied to clipboard
open fun naviMapUpdate(correlationId: String, mapUpdateRequest: PMCmdMapUpdateRequest): PMCommandRequest

Request to update/download map

Link copied to clipboard
open fun naviMapZoom(correlationId: String, arg: PMMapCamera): PMCommandRequest

Update map camera setting

Link copied to clipboard
open fun naviNavigate(correlationId: String, arg: String): PMCommandRequest

User wants to navigate to an address / POI

Link copied to clipboard
open fun naviOpenFavorites(correlationId: String): PMCommandRequest

User wants to open favorites

Link copied to clipboard
open fun naviOpenPoiCategory(correlationId: String): PMCommandRequest

User wants to open poi category

Link copied to clipboard
open fun naviOpenSearch(correlationId: String): PMCommandRequest

User wants to open search

Link copied to clipboard
open fun naviOpenSettings(correlationId: String): PMCommandRequest

User wants to open settings

Link copied to clipboard
open fun naviPoiInfo(correlationId: String, arg: String): PMCommandRequest

User wants to see the location on map with information

Link copied to clipboard

Remove named itineraries from stored list of itineraries in navigation

Link copied to clipboard
open fun naviRemoveItineraries(correlationId: String, itineraryIds: List<String>): PMCommandRequest

Remove named itineraries from stored list of itineraries in navigation

Link copied to clipboard
open fun naviRemoveRecents(correlationId: String): PMCommandRequest

Recent destinations will be removed

Link copied to clipboard
open fun naviRemoveWaypoint(correlationId: String): PMCommandRequest

Removes the next waypoint from the active route

Removes a waypoint from the active route on specified position

Link copied to clipboard
open fun naviRepeatPrompt(correlationId: String): PMCommandRequest

Last navigation prompt will be played

Link copied to clipboard
open fun naviReplaceWaypoint(targetWaypoint: PMGeoPosition, changeWaypoint: PMGeoPosition): PMCommandRequest
open fun naviReplaceWaypoint(correlationId: String, targetWaypoint: PMGeoPosition, changeWaypoint: PMGeoPosition): PMCommandRequest

Request to replace waypoint on provided position to another

Link copied to clipboard

Resolve location address from provided coordinates

Link copied to clipboard
open fun naviSearch(correlationId: String, arg: PMSearch): PMCommandRequest

User wants to search for address

open fun naviSearch(correlationId: String, arg: String): PMCommandRequest

User wants to search for address / POI

Link copied to clipboard

Set active map modes

Link copied to clipboard
open fun naviSetItinerary(correlationId: String, itinerary: PMCmdItinerary): PMCommandRequest

Navigation set received itinerary, compute route and immediately start navigation on it

Link copied to clipboard
open fun naviSetMarkers(correlationId: String, arg: List<PMGeoPosition>): PMCommandRequest

Show details about location / locations

Link copied to clipboard
open fun naviSetRouteOption(correlationId: String, routeOptions: List<PMSetRouteOption>): PMCommandRequest

Request to set route option

Link copied to clipboard

User wants to start the guidance

Link copied to clipboard
open fun naviStartItinerary(correlationId: String, itineraryId: String): PMCommandRequest

Navigation starts routing on previously added / updated itinerary

Link copied to clipboard
open fun naviStopGuidance(correlationId: String): PMCommandRequest

Cancels the navigation / guidance

Link copied to clipboard