Extension

interface Extension

This interface is used by AAP Service extensions that will be initialized at onCreate(). Not to be confused with AAP extension in the native (audio plugin) API context (get_extension()).

By registering this extension as a <meta-data> element in AndroidManifest.xml, whose android:name is org.androidaudioplugin.AudioPluginService#Extensions, the implementation class that is specified in the android:value attribute of the <meta-data> element will be instantiated and those members are invoked, wherever appropriate.

Functions

Link copied to clipboard
abstract fun cleanup()
Link copied to clipboard
abstract fun initialize(ctx: Context)