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: 
Rek
Visitor

Problem Supporting Old Rokus

Hi all, I've encountered some documentation discrepancies that make it difficult for me to support old firmware. Specifically, the documentation indicates that roMessageDialog.addLeftButton was introduced in firmware version 2.7 (http://sdkdocs.roku.com/display/sdkdoc/ifMessageDialog#ifMessageDialog-AddLeftButtonidasIntegertitle...), however I attempted to use this method on a roku running version 3.0 and it failed.

Are there any documents which are more up-to-date that I can use as a reference for when methods were added?
0 Kudos
2 REPLIES 2
EnTerr
Roku Guru

Re: Problem Supporting Old Rokus

No - there is no other documentation. What you see is the "latest and greatest" information provided by RokuCo.
I tried quickly on fw3 and seems that (at least) the following methods are not available there:

  • AddButtonSeparator() as Boolean

  • AddStaticText(text as String) as Void

  • UpdateText(text as String) as Void

  • AddLeftButton(id as Integer, title as String) as Boolean

  • AddLeftRatingButton(id as Integer, userRating as Integer, aggregateRating as Integer, tip as String) as Boolean


Someone Roku* should research and update that page with the proper versions. And/or arrange for the methods to be added on fw3
0 Kudos
TheEndless
Channel Surfer

Re: Problem Supporting Old Rokus

Unfortunately not. They seemed to stop tracking the date added when they switched to the wiki.
Your best method is to test the channel on the legacy hardware, and add specific checks around any code that fails.

Side note, I wasn't even aware of the AddLeftXXXButton methods, so thanks for pointing that out!
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
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.