Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
RokuTomC
Community Moderator
Community Moderator

Re: SDK documentation: links to fix, missing/broken/etc

0 Kudos
speechles
Roku Guru

Re: SDK documentation: links to fix, missing/broken/etc

"RokuTomC" wrote:

BrightScript language reference material has been lumped with the BrightScript API references:
https://developer.roku.com/en-gb/docs/references/brightscript/language/statement-summary.md[/url:1r4...
https://developer.roku.com/en-gb/docs/references/brightscript/language/program-statements.md[/url:1r...

Try telling that to your "search." Type in "Statement summary" and DOI

Results for statement summary
10 results

Statement summary
Developer Documentation - https://developer.roku.com/docs/referen ... summary.md
BrightScript supports the following familiar looking statement types: If / Then / Else If / Else / End If For / To / End For / Step / Exit For For Each / In / End For / Exit For While / End While / Exit While Function / End Function / As / Return Print Rem (or ') Goto Dim End Stop BrightScript is not case sensitive...

Program statements
Developer Documentation - https://developer.roku.com/docs/referen ... tements.md
DIM name (dim1, dim2, …, dimK) DIM (\"dimension\") is a statement that provides a short cut to creating roArray objects. It sets variable name to type \"roArray\", and creates Arrays of Arrays as needed for multi-dimensional arrays. The dimension passed to Dim is the index of the maximum entry to be allocated (the array initial size = dimension+1); the array will be resized larger automatically if needed...
0 Kudos
RokuTomC
Community Moderator
Community Moderator

Re: SDK documentation: links to fix, missing/broken/etc

"speechles" wrote:
"RokuTomC" wrote:

BrightScript language reference material has been lumped with the BrightScript API references:
https://developer.roku.com/en-gb/docs/references/brightscript/language/statement-summary.md[/url:1yr...
https://developer.roku.com/en-gb/docs/references/brightscript/language/program-statements.md[/url:1y...

Try telling that to your "search." Type in "Statement summary" and DOI

Results for statement summary
10 results

Statement summary
Developer Documentation - https://developer.roku.com/docs/referen ... summary.md
BrightScript supports the following familiar looking statement types: If / Then / Else If / Else / End If For / To / End For / Step / Exit For For Each / In / End For / Exit For While / End While / Exit While Function / End Function / As / Return Print Rem (or ') Goto Dim End Stop BrightScript is not case sensitive...

Program statements
Developer Documentation - https://developer.roku.com/docs/referen ... tements.md
DIM name (dim1, dim2, …, dimK) DIM (\"dimension\") is a statement that provides a short cut to creating roArray objects. It sets variable name to type \"roArray\", and creates Arrays of Arrays as needed for multi-dimensional arrays. The dimension passed to Dim is the index of the maximum entry to be allocated (the array initial size = dimension+1); the array will be resized larger automatically if needed...

Can you expand on your question please? The "Statement summary" page is appearing at the top of the search results when queried. You may have been querying before our search cache had updated, but the results you provided above are accurate.

Regarding the escape characters rendering on the search results page (\"roArray\"), we're tracking this bug and will resolve it shortly.
0 Kudos
speechles
Roku Guru

Re: SDK documentation: links to fix, missing/broken/etc



Document not found.

There is no reference.
0 Kudos
RokuTomC
Community Moderator
Community Moderator

Re: SDK documentation: links to fix, missing/broken/etc

Thanks for reporting this. The file path for the Reference landing page recently changed, causing the breakage.

A temporary fix has just been put in place, although you'll note the left-hand navigational tree structure will be closed upon landing on the page for the time being.
0 Kudos
marcelo_cabral
Roku Guru

Re: SDK documentation: links to fix, missing/broken/etc

I forgot about this post and created one to report this issue, anyway, here it is on the right place:

The new manifest "game" switch (introduced recently) is not listed on the SDK documentation page:
https://developer.roku.com/docs/develop ... anifest.md
0 Kudos
marcelo_cabral
Roku Guru

Re: SDK documentation: links to fix, missing/broken/etc

"marcelo.cabral" wrote:
I forgot about this post and created one to report this issue, anyway, here it is on the right place:

The new manifest "game" switch (introduced recently) is not listed on the SDK documentation page:
https://developer.roku.com/docs/develop ... anifest.md

Another thing I noticed in this page, the recommended dimensions for the channel icons are not correct.
0 Kudos
Komag
Roku Guru

Re: SDK documentation: links to fix, missing/broken/etc

Looks like "game" is back, right near the bottom, just above "Screensaver attributes"

I would like solid definitive correct sizes for things as well:

icon
540x405?
290x218?
336x210?

When I set mine to 290x218, it looks PIXEL PERFECT on my Roku 4 and on my 4k Roku TV where the UI is 1080p.
Maybe the 540x405 is for the larger channel picture that you see when surfing the channel store?
0 Kudos
RokuTomC
Community Moderator
Community Moderator

Re: SDK documentation: links to fix, missing/broken/etc

That's right, the "game" attribute has been added back to the documentation.

We'll have an update on the channel icon dimensions shortly.
0 Kudos
RokuTomC
Community Moderator
Community Moderator

Re: SDK documentation: links to fix, missing/broken/etc

"Komag" wrote:
Looks like "game" is back, right near the bottom, just above "Screensaver attributes"

I would like solid definitive correct sizes for things as well:

icon
540x405?
290x218?
336x210?

When I set mine to 290x218, it looks PIXEL PERFECT on my Roku 4 and on my 4k Roku TV where the UI is 1080p.
Maybe the 540x405 is for the larger channel picture that you see when surfing the channel store?

Komag and Marcelo, I've confirmed the dimensions listed for the manifest attributes in the documentation is accurate. However, please be aware that these assets are only used when your channel is side-loaded. When your channel is published and installed from the Channel Store, the channel icon that renders is the one that you upload during the channel creation/submission flow.

540x405 is the dimension for the asset uploaded during channel submission. This is the pixel perfect spec, and scaling is handled by the firmware.
If this is incongruous with your experience, can you shine a little more light on the specific use cases where things are going array?
0 Kudos