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: 
Komag
Level 10

di.GetSupportedGraphicsResolutions() not working

BrightScript Debugger> di = CreateObject("roDeviceInfo")
BrightScript Debugger> ? di.getModel()
2500X
BrightScript Debugger> ? di.getsupportedgraphicsresolutions()
Member function not found in BrightScript Component or interface. (runtime error &hf4) in $LIVECOMPILE(489)

Is there a typo in the documentation, or does this function no longer work?
0 Kudos
2 REPLIES 2
RokuKC
Roku Employee
Roku Employee

Re: di.GetSupportedGraphicsResolutions() not working

"Komag" wrote:
BrightScript Debugger> di = CreateObject("roDeviceInfo")
BrightScript Debugger> ? di.getModel()
2500X
BrightScript Debugger> ? di.getsupportedgraphicsresolutions()
Member function not found in BrightScript Component or interface. (runtime error &hf4) in $LIVECOMPILE(489)

Is there a typo in the documentation, or does this function no longer work?


roDeviceInfo.GetSupportedGraphicsResolutions is a new API for firmware 7.0 (which hasn't released yet).
(That should be indicated on the preliminary SDK docs, but apparently isn't).
0 Kudos
Komag
Level 10

Re: di.GetSupportedGraphicsResolutions() not working

Ah, okay, here is the page where it doesn't mention that:
http://sdkdocs.roku.com/display/sdkdoc/ifDeviceInfo
0 Kudos