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

Targeting 7.0 Firmware

We are developing a new SG Roku Channel but would like to target 7.0, mainly due to Now TV boxes still running 7.0. 

I am struggling to find the relevant documentation and samples for 7.0 firmware, and am having some issues. E.g.

SG Threads
We'd like to make extensive use of SG threads via task nodes. In the docs the differences between 7.1 and 7.2 are mentioned here:

https://sdkdocs.roku.com/display/sdkdoc/Scene+Graph+Threads[/url:8shkaory][/color]

But I can't get these working on 7.0, mainly due to the missing port form of the observeField message. I can't find any documentation or samples on how to set up SG threading in 7.0. 

Documentation
I can't find the documentation for the 7.0 SDK. Do you have this archived? I have looked in the GitHub repo here:

https://github.com/rokudev/docs[/url:8shkaory][/color]

But the earliest commit is August 2016 which is after release 7.1.

Samples
I can't find SG samples targeting 7.0. Again I have looked in the repo here:

https://github.com/rokudev/sample-channels[/url:8shkaory][/color]

But the earliest commit is August 2016 which is after release 7.1.

Does anyone know of resources to target 7.0?

Thanks,

Ryan
0 Kudos
2 REPLIES 2
Veeta
Visitor

Re: Targeting 7.0 Firmware

A few weeks ago I reviewed the documentation looking for specific mentions of 7.1 or 7.2 features.  Primarily they were incremental additions to the APIs based on early feedback.  Below is what I found from scanning the documentation.  I don't have a RokuTV with 7.0 firmware nor a 7.1 device to confirm, these are purely from the documentation.


7.2 functions
ifSGNodeChildren.appendChildren
ifSGNodeChildren.insertChildren
ifSGNodeChildren.removeChildren
ifSGNodeChildren.removeChildrenIndex
ifSGNodeChildren.replaceChildren
ifSGNodeChildren.getChildren
ifSGNodeChildren.createChildren
ifSGNodeChildren.getAll
ifSGNodeChildren.getRoots
ifSGNodeChildren.getRootsMeta
ifSGNodeChildren.getAllMeta
ifSGNodeHttpAgentAccess.getHttpAgent
ifSGNodeHttpAgentAccess.setHttpAgent
ifVideoPlayer.PreBuffer
ifVideoScreen.PreBuffer

7.1 functions
ifSGNodeField.observeField(fieldName as String, port as Object)
ifRoSGScreen.getGlobalNode()
ifArraySort.Sort
ifArraySort.SortBy
ifArraySort.Reverse
ifAppManager.SetUserSignedIn
ifStringOps.Split
<Task> Node m only has m.top and m.global for task threads
BrightScript '++' increment operator
BrightScript '- -' decrement operator
BrightScript '+=' operator
BrightScript '-=' operator
BrightScript '*=' operator
BrightScript '/=' operator
BrightScript '\=' operator
BrightScript '<<=' operator
BrightScript '>>=' operator
0 Kudos
EnTerr
Roku Guru

Re: Targeting 7.0 Firmware

@Veeta - wow, outstanding work!
There is also the https://sdkdocs.roku.com/display/sdkdoc/Release+Notes

@monkeysource - i have not used it but got peripheral impression that 7.0 was not ready for prime time, i.e. not something to target for. Seems to me a sane version would be at least 7.1 or even 7.2. Till then there is no global component, no parameters in function event handler nor message form of it, it seems.

My general impression is that Roku firmware is a moving target and nobody at the Co's side has interest in supporting "older" versions. Thus my suggestion is: try to get answer from developer at roku.com on when new firmware will be available on NowTV - and which version?
0 Kudos