Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Level 7

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

Fixed
The Language Reference, section 5.11: IF expression THEN statements [ELSE statements]

"If caveman = "fred" then print "flintsone" else print "rubble""

Flintstone is misspelled!

While we're worrying about details like billing and function description errors and sample program failures, we almost missed something really important like this.
FlixRaider channel
0 Kudos
Level 10

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

"sjb64" wrote:
If caveman = "fred" then print "flintsone" else print "rubble"
Flintstone is misspelled!
While we're worrying about details like billing and function description errors and sample program failures, we almost missed something really important like this.

<snort> I'd think that's one of the few places where a typo is intentional , like say to avoid "unlicensed use" of characters. I fully expect a RokuCo rep to neither confirm nor deny intentional similarity.

I would be amiss not to complain about the stiff way in which "truthiness" is defined though, not allowing for the logical operators' use as a makeshift conditional operator (like in say Lua or other BASICs i know):
print (caveman = "fred" and "flintsOne" or "rubble") 
0 Kudos
Highlighted
Level 7

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

FIXED:
On the Web Service API page, the base URL changes between the examples. For some, it is "https://apipub.roku.com/" and for others, it is "https://apipub.qa.roku.com/" is this a typo?

As a general comment, its a little mystifying to me that some API calls use XML for request and response and some use JSON.
0 Kudos
Highlighted
Level 8

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

On the ifCaptionRenderer page, under ShowSubtitle: http://sdkdocs.roku.com/display/sdkdoc/ ... easBoolean)asVoid

It says This function behaves the same was as ifVideoScreen.ShowSubtitle()

There is a typo (was should be way). But also, there is no ShowSubtitle section on the ifVideoScreen page. Additionally, despite there being a blog post about using ShowSubtitle on a roVideoScreen, ShowSubtitle does not seem to be available on the roVideoScreen component.
0 Kudos
Highlighted
Level 10

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

The description of what roDeviceInfo.GetAudioDecodeInfo() returns is wrong -
it says "<number of channels>:<SAD1>:<SAD2>:<PassThru>",
should be "<number of channels>:<SAD2>:<bitrate>:<is-pass-through>" -
see viewtopic.php?f=34&t=92320
0 Kudos
Highlighted
Level 10

roUrlTransfer.AsyncGet... - underdocumented

Fixed
The behavior of the Async methods of roUrlTransfer is under-documented - see viewtopic.php?f=34&t=95138

Should be documented in TFM.
0 Kudos
Highlighted
Level 10

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

ifDeviceInfo.GetCountryCode() should be updated for the added countries, MX and FR i think? Also maybe GetCurrentLocale() is affected too?
0 Kudos
Highlighted
Level 7

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

On https://sdkdocs.roku.com/display/sdkdoc/PosterGrid, "When fixedLayout is false" should say "When fixedLayout is true"

On https://sdkdocs.roku.com/display/sdkdoc ... Attributes, the dimensions provided for mm_icon_focus_hd and mm_icon_focus_sd are incorrect.
0 Kudos
Highlighted
Level 10

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

Page talking about "Special Scene Graph Debugging Commands", should mark that as "avail. in 7.2+",
see viewtopic.php?f=34&t=95410
0 Kudos
Highlighted
Level 10

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

roInput / roInputEvent still undocumented, after 5 years or so:
viewtopic.php?f=34&t=74693
0 Kudos