openDeepLink

fun openDeepLink(activity: Activity, storytellerDeepLink: String, onError: (StorytellerError) -> Unit = { })

Opens content based on a Storyteller deep link. This method can handle deep links for Stories, Clips collections, categories, or sheets. For more information on deep linking, see the Storyteller Deep Linking Documentation.

Parameters

activity

The Activity from which to open the deep link.

storytellerDeepLink

The Storyteller deep link string.

onError

Callback invoked if an error occurs while trying to open the deep link, such as an invalid link or content not found.