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
OnServiceUpdate

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 Message Examples

Example Notification

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