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

Downgrading code from 4.8 to 3.1

Some things I have noticed, these are elsewhere in the forums but collected here for your convenience.


4.8: roPosterScreen - SDPosterUrl is used if HDPosterUrl does not exist
3.1: must specify HDPosterUrl

4.8: roScreen implements GetMessagePort()
3.1: uses GetPort()

Also SetMessagePort/SetPort

4.8 screen.drawrect returns boolean
3.1: drawrect does not return a value
0 Kudos
1 Reply
Highlighted
Level 9

Re: Downgrading code from 4.8 to 3.1

"MSGreg" wrote:
4.8: roPosterScreen - SDPosterUrl is used if HDPosterUrl does not exist
3.1: must specify HDPosterUrl

I believe this may also true for the roSpringboardScreen, possibly for all screens.

"MSGreg" wrote:
4.8: roScreen implements GetMessagePort()
3.1: uses GetPort()

Also SetMessagePort/SetPort

GetPort and SetPort still work in 4.8. They just added GetMessagePort and SetMessagePort for consistency.
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