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

OnFileRemoved

Type
Notification
Sender
SDL
Purpose
Inform the HMI that a file has been removed from a shared folder by an application.

When a file is requested to be removed by an application, SDL will notify the HMI that the file has been removed.

May

If the named file that was removed was an app icon, the HMI may want to reset the app icon it was displaying to a default app icon.

Note

SDL notifies the HMI about removing files only if the files were located in the HMI's shared folder.

Notification

Parameters

Name Type Mandatory Additional
fileName String true minlength: 1
maxlength: 30
fileType Common.FileType true
appID Integer true

Sequence Diagrams

JSON Example Notification

{
  "jsonrpc" : "2.0",
  "method" : "BasicCommunication.OnFileRemoved"
     "params" :
  {
      "appID" : 31780,
"fileName" : "/fs/rwdata/storage/sdl/Emergency584421907/syncFileName",
      "fileType" : "GRAPHIC_BMP"      
  }

}
View on GitHub.com
Previous Section Next Section