open Collection By External Id
fun openCollectionByExternalId(activity: Activity, collectionId: String, externalId: String? = null, titleDrawable: Drawable? = null, onError: (StorytellerError) -> Unit = {})
Opens a collection of Clips by its ID, optionally starting with a Clip identified by its external ID. For more details on opening the Storyteller player, see the Opening the Player Documentation.
Parameters
activity
The Activity from which to open the Clips collection.
collection Id
The ID of the Clips collection to open.
external Id
Optional external ID of a specific Clip to start with within the collection.
title Drawable
Optional Drawable to be displayed as a title/logo in the Clips player.
on Error
Callback invoked if an error occurs (e.g., collection or Clip not found).