Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
HMI Documentation
UnsubscribeWayPoints

UnsubscribeWayPoints

Type
Function
Sender
SDL
Purpose
Unsubscribe from periodic navigation waypoint/destination updates

Request

Must
  1. Stop sending waypoint updates to SDL.
  2. Send BC.OnResetTimeout notification to SDL to reset the timeout in case HMI needs more time to process the request.

Parameters

This RPC has no additional parameter requirements

Response

Parameters

This RPC has no additional parameter requirements

Sequence Diagrams

JSON Message Examples

Example Request

{
  "id" : 47,
  "jsonrpc" : "2.0",
  "method" : "Navigation.UnsubscribeWayPoints",
  "params" : {}
}

Example Response

{
  "id" : 47,
  "jsonrpc" : "2.0",
  "result" :
  {
    "code" : 0,
    "method" : "Navigation.UnsubscribeWayPoints"
  }
}

Example Error

{
  "id" : 47,
  "jsonrpc" : "2.0",
  "error" :
  {
    "code" : 6,
    "message" : "Not subscribed to waypoints",
    "data" :
    {
      "method" : "Navigation.UnsubscribeWayPoints"
    }
  }
}
View on GitHub.com
Previous Section Next Section