Plugin

abstract class Plugin

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class Manifest

Properties

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()

Called when your Plugin is being unloaded

Link copied to clipboard
open fun load(context: Context)

Called when your Plugin is loaded

Link copied to clipboard

Used to register extractor instances of ExtractorApi

Link copied to clipboard
fun registerMainAPI(element: MainAPI)

Used to register providers instances of MainAPI