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: 
edwardaux
Visitor

SceneGraph equivalent to SetLoadingPoster

Hi all,

I'm trying to set a default image to be a) displayed when the remote image is being fetched for a poster in a RowList, and b) displayed as a fallback if the remote image is not present/not valid.  I've got a blank tile image that I ship with my channel that I can reference via pkg:/... I just need a way to be able to set it as the default, and then provide a remote URL via hdPosterUrl.

It looks like SetLoadingPoster() is the sort of function I'm looking for, however the docs say it is deprecated but don't suggest an alternative.

Any suggestions could be much appreciated.

Cheers,
Craig
0 Kudos
3 REPLIES 3
tay
Visitor

Re: SceneGraph equivalent to SetLoadingPoster

Did you try using failedBitmapUri for rowlist?

https://sdkdocs.roku.com/plugins/servle ... st-RowList

In the doc There are other bitmap uri options too, you can pick and choose according to the scenario.
0 Kudos
edwardaux
Visitor

Re: SceneGraph equivalent to SetLoadingPoster

ah, awesome. Thanks @tay, that is exactly what I was looking for... 

I can't believe I didn't think to look in the RowList documentation... I was trawling through the metadata for the content node.

Thanks again
0 Kudos
tay
Visitor

Re: SceneGraph equivalent to SetLoadingPoster

You are most welcome.
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.