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: 
Manvendra
Level 8

"PlayDuration" is only supported when used with TimeGrid component.

Recently i integrated TimeGrid component in my project for EPG guide, but now i am getting this error in static analysis:
"PlayDuration" is only supported when used with TimeGrid component. All other used have been deprecated.

I think, this is something on Roku's end. As this is a new implementation, don't think it can be deprecated this quickly.

0 Kudos
1 Reply
RokuPam
Roku Employee
Roku Employee

Re: "PlayDuration" is only supported when used with TimeGrid component.

Hi @Manvendra, your suspicion is correct – Static Analysis is currently incorrectly flagging this API as an error. We plan to have a fix out in production by the end of this week.  

0 Kudos