RDK Resources
RDK Preferred
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
Code Block |
---|
Request : {"jsonrpc":"2.0", "id":3, "method":"org.rdk.RDKShell.1.setOpacity", "params":{ "client": "org.rdk.Netflix", "opacity": 100}} Response: {"jsonrpc":"2.0", "id":3, "result": {} } |
Description: Enables or disables inactivity reporting and events
Arguments:
Returns: none
Code Block |
---|
Request : {"jsonrpc":"2.0", "id":3, "method":"org.rdk.RDKShell.1.enableInactivityReporting", "params":{ "enable": true}}
Response: {"jsonrpc":"2.0", "id":3, "result": {} } |
Description: Sets the inactivity notification interval
Arguments:
Returns: none
Code Block |
---|
Request : {"jsonrpc":"2.0", "id":3, "method":"org.rdk.RDKShell.1.setInactivityInterval", "params":{ "interval": 15}}
Response: {"jsonrpc":"2.0", "id":3, "result": {} } |
Description: Adds a key listener to an app. The keys are bubbled up based on their z-order
...
Code Block |
---|
Request : {"jsonrpc":"2.0", "id":3, "method":"org.rdk.RDKShell.1.getSystemResourceInfo", "params":{}} Response: {"jsonrpc":"2.0", "id":<number>, "result": {"runtimes":[ {"callsign":"netflix1", "ram":123, "vram":50}, {"callsign":"html1", "ram":123, "vram":50}, {"callsign":”cobalt1", "ram":123, "vram":50}], "success": true} } |
This API has no events.
Description: An event that is broadcasted when a device has been inactive for a period of time. This event is broadcasted at the frequency specified by setInactivityInterval if the device is not active. The default frequency is 15 minutes.
Parameters: