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: 
RokuJonathanD
Community Moderator
Community Moderator

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

"joetesta" wrote:
Types listed do not match example:

pages: landing, sign in, registration, device activation, subscription selection, payment, and cancellation.


Examples:
"Sign_Up|pageNumber=1|pageType=Landing Page" "Sign_Up|pageNumber=2|pageType=Sign In"


Note: "Landing Page" vs "landing"

JD: BTW, I cleaned up the doc based on this feedback, and fixed some rendering issues that were affecting how the samples were displayed.
Can we use any arbitrary values we want for these?  Please clarify in the documentation.
https://developer.roku.com/en-gb/docs/developer-program/discovery/search/prioritizing-authenticated-...
0 Kudos
marcelo_cabral
Roku Guru

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

DrawLine method has the parameter order completely wrong at:
https://developer.roku.com/docs/references/brightscript/interfaces/ifdraw2d.md

It says: 

DrawLine(rgba as Integer, xEnd as Integer, xStart as Integer, yEnd as Integer, yStart as Integer) as Void


but the right order is
DrawLine(xStart as Integer, yStart as Integer, xEnd as Integer, yEnd as Integer, rgba as Integer) as Void
0 Kudos
marcelo_cabral
Roku Guru

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

DrawObject is also wrong, please review all ifDraw2D interface methods
0 Kudos
RokuJonathanD
Community Moderator
Community Moderator

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

"marcelo.cabral" wrote:
DrawObject is also wrong, please review all ifDraw2D interface methods

JD: The ifDraw2D interface document has been updated with parameters listed in the correct order. 
0 Kudos
RokuJonathanD
Community Moderator
Community Moderator

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

"RokuJonathanD" wrote:
"joetesta" wrote:
Types listed do not match example:

pages: landing, sign in, registration, device activation, subscription selection, payment, and cancellation.


Examples:
"Sign_Up|pageNumber=1|pageType=Landing Page" "Sign_Up|pageNumber=2|pageType=Sign In"


Note: "Landing Page" vs "landing"

JD: BTW, I cleaned up the doc based on this feedback, and fixed some rendering issues that were affecting how the samples were displayed.
Can we use any arbitrary values we want for these?  Please clarify in the documentation.
https://developer.roku.com/en-gb/docs/developer-program/discovery/search/prioritizing-authenticated-...


JD: The names need to include an index and label, but those can indeed by arbitrary...I would make sure to sequentially number pages/forms in a logical order (I wouldn't randomly number items), and make sure labels help make it easy to identify the corresponding page...I'll update the doc to be more clear about this. 
0 Kudos
RokuJonathanD
Community Moderator
Community Moderator

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

"RokuJonathanD" wrote:
"joetesta" wrote:
Types listed do not match example:

pages: landing, sign in, registration, device activation, subscription selection, payment, and cancellation.


Examples:
"Sign_Up|pageNumber=1|pageType=Landing Page" "Sign_Up|pageNumber=2|pageType=Sign In"


Note: "Landing Page" vs "landing"

JD: BTW, I cleaned up the doc based on this feedback, and fixed some rendering issues that were affecting how the samples were displayed.
Can we use any arbitrary values we want for these?  Please clarify in the documentation.
https://developer.roku.com/en-gb/docs/developer-program/discovery/search/prioritizing-authenticated-...


JD: The names need to include an index and label, but those can indeed by arbitrary...I would make sure to sequentially number pages/forms in a logical order (I wouldn't randomly number items), and make sure labels help make it easy to identify the corresponding page...I'll update the doc to be more clear about this. 
0 Kudos
marcelo_cabral
Roku Guru

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

Another issue with ifDraw2D documentation I noticed this weekend:
The DrawObject() method only shows 3 parameters, but it actually supports an optional fourth (rgba), just like the other Draw*() methods.

https://developer.roku.com/docs/referen ... fdraw2d.md
0 Kudos
Komag
Roku Guru

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

0 Kudos
raghumobile
Reel Rookie

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

Not able to find ECP documentation. Is it removed?
0 Kudos
RokuJonathanD
Community Moderator
Community Moderator

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

We moved the ECP doc under Debugging. The link to the doc is here: https://developer.roku.com/docs/developer-program/debugging/external-control-api.md

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.