subscribe
suspend fun subscribe(parentId: String, params: MediaLibraryService.LibraryParams? = null): LibraryResult<Void>
Subscribes to a parent id for changes to its children. When there's a change, PillarboxMediaBrowser.Listener.onChildrenChanged will be called with the MediaLibraryService.LibraryParams. You may call PillarboxMediaBrowser.getChildren to get the children.
Parameters
parentId
A non-empty parent id to subscribe to.
params
Optional parameters.