Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

CloseApplication

Type
Function
Sender
HMI
Purpose
Request to remove the application from the foreground

Behavior

If the application is in the foreground of the HMI:

Must
  1. Remove the application from the foreground.

SDL will:

  1. Place the application in hmiLevel NONE

Request

Parameters

Name Type Mandatory Additional
appID Integer true The application to be removed from the foreground

Response

Parameters

This RPC has no additional parameter requirements

Example Request

{
  "id" : 47,
  "jsonrpc" : "2.0",
  "method" : "BasicCommunication.ActivateApp",
  "result" :
  {
    "appID" : 65368
  }
}

Example Response

{
  "id" : 47,
  "jsonrpc" : "2.0",
  "result" :
  {
    "code" : 0,
    "method" : "BasicCommunication.ActivateApp"
  }
}

Example Error

{
  "id" : 47,
  "jsonrpc" : "2.0",
  "error" :
  {
    "code" : 13,
    "message" : "The provided appID is not valid.",
    "data" :
    {
      "method" : "BasicCommunication.ActivateApp"
    }
  }
}

Sequence Diagrams

View on GitHub.com
Previous Section Next Section