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: 
Komag
Roku Guru

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
Roku Guru

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