Skip to content

Commit

Permalink
fix: Added deprecation note in screen resolution method (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinshahfws authored Sep 20, 2024
1 parent d9a8ac6 commit e146c43
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions src/openrpc/device.json
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@
},
{
"name": "screenResolution",
"summary": "Get the resolution for the graphical surface of the app. \n\nThe pairs returned will be of a [width, height] format and will correspond to the following values: \n\nNTSC Standard Definition (SD): [720, 480] \n\nPAL Standard Definition (SD): [720, 576] \n\nHigh Definition (HD): [1280, 720] \n\nFull HD (FHD): [1920, 1080]\n\n4K Ultra High Definition (UHD): [3840, 2160]",
"summary": "Get the resolution for the graphical surface of the app. \n\nThe pairs returned will be of a [width, height] format and will correspond to the following values: \n\nNTSC Standard Definition (SD): [720, 480] \n\nPAL Standard Definition (SD): [720, 576] \n\nHigh Definition (HD): [1280, 720] \n\nFull HD (FHD): [1920, 1080]\n\n4K Ultra High Definition (UHD): [3840, 2160] \n\n**Deprecated:** Use non-Firebolt APIs specific to your platform, e.g. W3C APIs",
"params": [],
"tags": [
{
Expand All @@ -459,7 +459,9 @@
]
},
{
"name": "deprecated"
"name": "deprecated",
"x-alternative": "Use non-Firebolt APIs specific to your platform, e.g. W3C APIs",
"x-since": "1.4.0"
}
],
"result": {
Expand Down

0 comments on commit e146c43

Please sign in to comment.