First supported in version 3.0 of the Lightroom SDK.
LrPublishedCollectionSet, or it can contain one or more
LrFolderobjects. Do not mix collections with folders.
I read that a couple of months ago and wondered the same thing. But I never got around to testing the actual semantics, because getActiveSources() is broken:
Also, it's undocumented that you need to call setActiveSources() from within a task:
... I never got around to testing the actual semantics, because getActiveSources() is broken:
That does take some of the "fun" out of it.
I just tested (with the help of your debugger ), that setActiveSources does not like it when you mix folders and collections, despite the ability to do it in the Lightroom left panel.