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: 
Ranjitha_8s
Binge Watcher

Need to remove observefield

I have an interface (contentnode) and it has a call back function. I need to change a field (ID). But whenever I am changing the id the call back function is calling. How can I stop calling the callback function? I have tried unobservefield and then set the ID field and again observe back. But it is not working.

0 Kudos
1 REPLY 1
renojim
Community Streaming Expert

Re: Need to remove observefield

Did you check the return value of unobservefield?  Perhaps that call is failing.

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
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.