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: 
Manvendra
Streaming Star

"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 1
RokuPam
Streaming Star

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
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.