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: 
joetesta
Roku Guru

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

On https://blog.roku.com/developer/2016/03 ... -tutorial/
under Sthree resources, the link is broken to 
aspiring
0 Kudos
tim_beynart
Channel Surfer

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

BifDisplay node is mentioned in Video fields, but is not fully documented. No examples provided.
0 Kudos
joetesta
Roku Guru

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

On this page https://sdkdocs.roku.com/display/sdkdoc/Button
are incorrect default values for iconUri, focusedIconUri

ref: https://forums.roku.com/viewtopic.php?f ... 80#p564280
aspiring
0 Kudos
joetesta
Roku Guru

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

Additionally, for Button if using an image with a size larger than maxwidth, if  minWidth is not set, seems it's defaulting to the width of the image and therefore minwidth must be set to decrease the size. (what I would expect maxwidth to do)
if I set maxwidth only (and no minwidth), the button is much wider than the maxwidth value.  if set minwidth only (and no maxwidth), the button is the width of minwidth.  seems something's mixed up here, or is it just me?
thanks
aspiring
0 Kudos
joetesta
Roku Guru

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

https://sdkdocs.roku.com/display/sdkdoc ... terpolator
Seems to me the description (Use) for fieldToInterp is wrong, says should be separated by colon but that doesn't work (for me on Roku 3, targetting opacity), needs to be separated by a dot;

separated by a colon. For example, "title:width"  <---- what's there now

separated by a dot. For example, "title.width"    <---- what it should probably be

(PS. rNB: fixed)
aspiring
0 Kudos
joetesta
Roku Guru

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

Broken link from here https://sdkdocs.roku.com/display/sdkdoc/roSGNode
Reference information on all Scene Graph node classes can be found in this Scene Graph Reference[/url:3sg3x7mk].
aspiring
0 Kudos
joetesta
Roku Guru

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

https://sdkdocs.roku.com/display/sdkdoc/Label
lineSpacing - default is reported as 0
however, testing this, it's not 0.
The default looks to be something like 10.
aspiring
0 Kudos
joetesta
Roku Guru

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

https://sdkdocs.roku.com/display/sdkdoc ... lAlignment
It seems like the instructions about height are wrong, assuming the Label's height field should automatically update once the text is set?

Request: Please expose the "computed height" of the label after text update?
aspiring
0 Kudos
joetesta
Roku Guru

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

Duplicate field 
showRowCounterForShortRows is listed twice in the field column on https://sdkdocs.roku.com/display/sdkdoc/RowList
aspiring
0 Kudos
georgejecook
Streaming Star

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

Can we get more information on callFunc? It's use is incorrectly documented. It says you need to pass in an args object, with the fields. that is not true.  I have callfunc uses throughout my app that pass in strings/nodes, etc

ie.. callfunc("sayhello", hello)

function SayHello(message as string)
return "hello " + message
end function

that works fine.

Also - no information at all about getting return values from callfunc - you can do this
myValue = aNode.callFunc("SayHello", "George") 
? myValue >> "hello George"

And what's the cost of that? what happens with rendesvous? marshalling? What thread? What scope. Performance cost?

I reckon callfunc could be far more useful, and lead to some nice patterns; but it needs more documentation!
George Cook
https://georgejecook.github.io/
https://linkedin.com/in/georgejecook/
Roku developers slack group (https://join.slack.com/t/rokudevelopers/shared_invite/zt-4vw7rg6v-NH46oY7hTktpRIBM_zGvwA) : georgejecook

Contact me on roku developer slack group, or via pm to discuss consultancy/work opportunities/rooibos unit testing framework
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.