Rek
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2013
12:49 PM
Get current version?
Hi, I'd like to use the ifPosterScreen.SetFocusToFilterBanner(boolean) function which is available since framework version 3.0. However, I need my channel to run on version 2 as well. Is it possible to determine at run-time which version is being used, so that I can make sure I'm only calling the function when it actually exists?
2 REPLIES 2

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2013
01:03 PM
Re: Get current version?
There shouldn't be any devices in the wild running firmware version 2. The Roku 1s run version 3.1 and all current generation Rokus run version 5.0.
That being said, you can check the firmware version via the GetVersion() method of roDeviceInfo: http://sdkdocs.roku.com/display/sdkdoc/ ... onasString
That being said, you can check the firmware version via the GetVersion() method of roDeviceInfo: http://sdkdocs.roku.com/display/sdkdoc/ ... onasString
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)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
Rek
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2013
01:06 PM
Re: Get current version?
"TheEndless" wrote:
There shouldn't be any devices in the wild running firmware version 2. The Roku 1s run version 3.1 and all current generation Rokus run version 5.0.
That being said, you can check the firmware version via the GetVersion() method of roDeviceInfo: http://sdkdocs.roku.com/display/sdkdoc/ ... onasString
Excellent. Thank you 😄