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

OnServiceUpdate

Type
Notification
Sender
SDL
Purpose
Update HMI with the status of a particular service
May

Display a pop-up providing accurate feedback to the user on the status of the system or what steps to take in case of an error.

Notification

When a mobile navigation application is activated and sends a request for the Video Service there is a series of steps taken.
These steps include:

  • getting the current system time
  • performing a policy table update
  • decrypting certificates and ensuring validity of the certificates

Processing these steps SDL sends OnServiceUpdate notification to HMI to provide accurate feedback on the status of the system.

Parameters

Name Type Mandatory Additional
serviceType Common.ServiceType true
serviceEvent Common.ServiceEvent false
reason Common.ServiceStatusUpdateReason false
appID Integer false
Note

The only time when SDL would not be able provide the appID would be during the first StartService request for the RPC service before RAI was sent.

Sequence Diagrams

JSON Example Notification

{
    "jsonrpc": "2.0",
    "method": "BC.OnServiceUpdate",
    "params": {
        "serviceType": "RPC",
        "serviceEvent":"REQUEST_RECEIVED"
    }
}
View on GitHub.com
Previous Section Next Section