Notifies about user/HMI allowing SDL functionality or disallowing access to all mobile apps on the specified device.
Send OnAllowSDLFunctionality
notification to SDL as a result of user’s choice about device data consent via pop-up dialog or user’s settings change in Settings Menu (if applicable)
default_hmi
key of pre-DataConsent
section of Local PT to HMI. <device_identifier>
section of "device_data" section in Local PT on getting OnAllowSDLFunctionality from HMI. Name | Type | Mandatory | Description |
---|---|---|---|
device | Common.DeviceInfo | false | If no device is specified permission counts for SDL functionality in general. |
allowed | Boolean | true | Must be true if allowed |
source | Common.ConsentSource | true |
Preconditions:
- Device is connected to the HU.
- App_1 is running on this device and is registered with SDL.
- App_1 presents in the list of registered apps on HMI.
{ "jsonrpc" : "2.0", "method" : "SDL.OnAllowSDLFunctionality", "params" : { "device": { "name" : "Mary's Phone", "id" : 8 }, "allowed" : true, "source" : "GUI" } }