Plugin

abstract class Plugin : BasePlugin(source)

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var openSettings: (context: Context) -> Unit?

This will add a button in the settings allowing you to add custom settings

Link copied to clipboard

This will contain your resources if you specified requiresResources in gradle

Functions

Link copied to clipboard
open fun beforeUnload()
Link copied to clipboard
open fun load()

open fun load(context: Context)

Called when your Plugin is loaded

Link copied to clipboard
Link copied to clipboard
fun registerMainAPI(element: MainAPI)
Link copied to clipboard

Used to register VideoClickAction instances