Virtual Background - getBGImageList

Description
Hi –

I’m experimenting with the SDK Virtual Backgrounds. So far everything works very well. But I wonder about getBGImageList(). Is that a network call? Is it synchronous?

After I useBGImage(imageInfo), I reload with getBGImageList(), then collectionView.reloadData(). Is that safe?

Thanks,
– Steven

Which Client iOS SDK version?
5.2.42037.1112

Hey @steven.otoole,

Thanks for using the dev forum!

Yes, getBGImageList is a network call. A user has a list of Virtual Background images that can be accessed across platforms/devices. There is not a real full-proof way to listen for the timing here, but it is safe to assume that when getBGImageList returns you are safe to reload.

Thanks!
Michael