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
OnFileRemoved

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

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