RC.GetInteriorVehicleDataConsent must be sent to HMI in case application in HMILevel FULL requested access to RC module that is already in use by another application.
HMI is expected to display a permission prompt to the driver showing the RC module and app details (for example, app's name).
The driver is expected to have an ability to grant or deny the permission.
Name | Type | Mandatory | Additional | Description |
---|---|---|---|---|
moduleType | Common.ModuleType | true | The module type that the app requests to control | |
moduleIds | String | false | array: true maxlength: 100 |
Ids of a module of same type, published by System Capability |
appID | Integer | true | ID of the application that triggers the permission prompt |
Name | Type | Mandatory | Additional | Description |
---|---|---|---|---|
allowed | Boolean | true | array: true | "true" - if the driver grants the permission for controlling to the named app; "false" - in case the driver denies the permission for controlling to the named app. |
{ "id": 38, "jsonrpc": "2.0", "method": "RC.GetInteriorVehicleDataConsent", "params": { "appID": 2032286926, "moduleType": "CLIMATE" } }
{ "id": 38, "jsonrpc": "2.0", "result": { "allowed": [true, false], "code": 0, "method": "RC.GetInteriorVehicleDataConsent" } }
{ "error": { "code": 10, "data": { "method": "RC.GetInteriorVehicleDataConsent" }, "message": "No response from driver" }, "id": 38, "jsonrpc": "2.0" }