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

2.8 SDK Documentation?

Hi - does anyone know if the 2.8 documentation is available? I'm looking for the new External Control Guide

Thanks
-Gregg Reno
Roku Remote for Android
0 Kudos
12 REPLIES 12
TheEndless
Channel Surfer

Re: 2.8 SDK Documentation?

It's unlikely you'll see any 2.8 documentation, at least publicly, for awhile. 2.7 was out for nearly two months before they published its SDK documentation.

EDIT: Removed the part you obviously already knew... 😛
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
jbrave
Channel Surfer

Re: 2.8 SDK Documentation?

Meanwhile, you can telnet to the roku and type

BrightScript Debugger> classes

and see what all the stuff in there is, you could probably figure some things out.

I notice there is an roWebScreen and RoWebscreen event...

!

- Joel
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
0 Kudos
TheEndless
Channel Surfer

Re: 2.8 SDK Documentation?

"jbrave" wrote:
Meanwhile, you can telnet to the roku and type

BrightScript Debugger> classes

Holy cow! I had no idea you could do that!
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
renojim
Community Streaming Expert

Re: 2.8 SDK Documentation?

Me either! I just looked in the BrightScript Reference Manual and there it is. I guess I should read more. :oops:

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
kbenson
Visitor

Re: 2.8 SDK Documentation?

"jbrave" wrote:

I notice there is an roWebScreen and RoWebscreen event...


You don't seem to be able to create one, but then again you can't create a roNetflixVideoScreen either. Either it's something coming later that we aren't allowed to play with yet, or it's a back-end component not meant for direct developer use. Either way it IS interesting.
-- GandK Labs
Check out Reversi! in the channel store!
0 Kudos
jbrave
Channel Surfer

Re: 2.8 SDK Documentation?

well, I tried:

x=createobject("rowebscreen")

from the brightscript debugger command line, and it worked. However x.show() is not a member function. Trying:

x.url="http://www.google.com" results in

Invalid value for left-side of expression.

That is the most interesting response so far.

x.SetUrl results in

'Dot' Operator attempted with invalid BrightScript Component or interface reference.
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
0 Kudos
TheEndless
Channel Surfer

Re: 2.8 SDK Documentation?

Through experimentation, I found that the roGridScreen has a SetGridStyle() method, but I couldn't seem to get it to change anything. I was hoping it might support a "landscape" value, but no such luck...
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
kbenson
Visitor

Re: 2.8 SDK Documentation?

"jbrave" wrote:
well, I tried:

x=createobject("rowebscreen")

from the brightscript debugger command line, and it worked. However x.show() is not a member function


That's because CreateObject() is returning invalid for those components. Not much to do after that.
-- GandK Labs
Check out Reversi! in the channel store!
0 Kudos
YungBlood
Streaming Star

Re: 2.8 SDK Documentation?

"renojim" wrote:
Me either! I just looked in the BrightScript Reference Manual and there it is. I guess I should read more. :oops:

-JT

Dang! I've been debugging the hard way! With print statements & stops... :oops:

Though I can't seem to stop a script that has been called with run()... well, except for the hard way that I've been doing...

-YB
YungBlood

Bringing more fun to Roku!
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.