cloudstream/app/src/main/java/com/lagradost/cloudstream3/plugins/Plugin.kt

24 lines
533 B
Kotlin
Raw Normal View History

2022-08-04 10:51:11 +00:00
package com.lagradost.cloudstream3.plugins;
import android.content.Context;
import android.content.res.Resources;
public abstract class Plugin {
public Plugin() {}
/**
* Called when your Plugin is loaded
* @param context Context
*/
public void load(Context context) throws Throwable {}
public static class Manifest {
public String name;
public String pluginClassName;
}
public Resources resources;
public boolean needsResources = false;
public String __filename;
}