runAction

abstract suspend fun runAction(context: Context?, video: ResultEpisode, result: LinkLoadingResult, index: Int?)(source)

This function is called when the action is clicked.

Parameters

context

The current activity

video

The episode/movie that was clicked

result

The result of the link loading, contains video & subtitle links

index

if oneSource is true, this is the index of the selected source