RDK Resources

[*RDK Preferred*]

Code Management Facility

Code Releases

RDK Forums

[RDK Conferences]

RDK Support

Archives

Papers & Presentations Archive

In the News!

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
Request : {"jsonrpc":"2.0", "id":3, "method":"org.rdk.RDKShell.2.animateTo", "params":{"animations": [{
         "client": "HtmlApp",
         "x":0, "y":0, "w":1920, "h":1080
         }, 
		 {
           "client": "ResidentApp",
           "x":0, "y":0, "w":0, "h":0, "sx":0.5, "sy":0.5
		 }
         ]}}

Response: {"jsonrpc":"2.0", "id":3, "result": {} }

...


setScale (v2)

Description: Scale an application

...

  • client - the client to scale (string)
  • xScale sx - x scale factor (double)
  • yScale sy - y scale factor (double)

...

Code Block
Request : {"jsonrpc":"2.0", "id":3, "method":"org.rdk.RDKShell.2.scalesetScale", "params":{"client": "ResidentApp", "xScalesx":1.5, "yScalesy":1.5}}

Response: {"jsonrpc":"2.0", "id":3, "result": {} }


getScale (v2)

Description: Scale an application


Arguments:

  • client - the client to scale (string)

Returns: none

Code Block
Request : {"jsonrpc":"2.0", "id":3, "method":"org.rdk.RDKShell.2.getScale", "params":{"client": "ResidentApp"}}

Response: {"jsonrpc":"2.0", "id":3, "result": {"sx":1.5, "sy":1.5} }



generateKey (v2)

Description: Triggers key events (key press and release)

...