getLinks
open suspend fun getLinks(watchId: String, film: FilmMetadata, episode: Episode? = null, onLinkFound: (MediaLink) -> Unit)
Obtains media links from WebView based on the given watchId, film, and optionally episode.
Parameters
watchId
The unique identifier used to get media links.
film
The details of the film to get links for.
episode
Optional episode details, used if the media is part of a series.
onLinkFound
Callback function that is triggered whenever a MediaLink is found.