jedashford
10 years agoChannel Surfer
How do I set an Observer for Poster.loadStatus?
From the docs (https://sdkdocs.roku.com/display/sdkdoc/Poster) it states that "loadStatus" is:
"Read-Only - Can be used to track the progress of loading the graphical image file. A typical use of this field is to set an observer so that when the field value changes to ready, an action can be triggered."
I set an observer here on that loadStatus value, but the method is never called.
I'm guessing I'm observing this incorrectly. Any insights?
"Read-Only - Can be used to track the progress of loading the graphical image file. A typical use of this field is to set an observer so that when the field value changes to ready, an action can be triggered."
I set an observer here on that loadStatus value, but the method is never called.
m.backgroundPoster.ObserveField("loadStatus", backgroundImageProgress)I'm guessing I'm observing this incorrectly. Any insights?