plugin / com.github.shadowsocks.plugin / HelpCallback

HelpCallback

abstract class HelpCallback : HelpActivity

HelpCallback is an HelpActivity but you just need to produce a CharSequence help message instead of having to provide UI. To create a help callback, just extend this class, implement abstract methods, and add it to your manifest following the same procedure as adding a HelpActivity.

Constructors

<init>

HelpCallback()

HelpCallback is an HelpActivity but you just need to produce a CharSequence help message instead of having to provide UI. To create a help callback, just extend this class, implement abstract methods, and add it to your manifest following the same procedure as adding a HelpActivity.

Functions

onInitializePluginOptions

open fun onInitializePluginOptions(options: PluginOptions): Unit

Populate args to your user interface.

produceHelpMessage

abstract fun produceHelpMessage(options: PluginOptions): CharSequence