OnAppUnregistered
- Type
- Notification
- Sender
- SDL
- Purpose
- Inform the HMI that an application has unregistered.
SDL sends this notification when:
- The named application has unregistered from the mobile side via an appropriate RPC.
- The connection and corresponding session(s) are closed due to transport connection issues (for example, WiFi/BT connection closing on mobile device, USB unplugging, etc.).
- A HeartBeat timeout occurs between the mobile device and SDL Core (if a HeartBeat timeout is set).
Must
- HMI must distinguish between an unexpected disconnect and a regular exit from the
unexpectedDisconnect
parameter.
- HMI must removed the named application from the list of registered applications.
May
- In case of an
Unexpected Disconnect
, the HMI may display a popup of some kind that reports a connection with the named app was unexpectedly lost.
- In case of any type of disconnect, the HMI may switch to a
Home
screen that displays a list of other registered applications.
- The HMI may delete all application data after an app disconnects, except for
VRGrammars
.
Notification
Parameters
Name |
Type |
Mandatory |
Additional |
unexpectedDisconnect |
Boolean |
true |
|
appID |
Integer |
true |
|
Sequence Diagrams
JSON Message Examples
Example Notification
{
"jsonrpc" : "2.0",
"method" : "BasicCommunication.OnAppUnregistered",
"params" :
{
"appID" : 65539,
"unexpectedDisconnect": false
}
}
View on GitHub.com