PluginContract

object PluginContract

The contract between the plugin provider and host. Contains definitions for the supported actions, extras, etc.

This class is written in Java to keep Java interoperability.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

ACTION_CONFIGURE
Link copied to clipboard
const val ACTION_CONFIGURE: String
Activity Action: Used for ConfigurationActivity.
ACTION_HELP
Link copied to clipboard
const val ACTION_HELP: String
Activity Action: Used for HelpActivity or HelpCallback.
ACTION_NATIVE_PLUGIN
Link copied to clipboard
const val ACTION_NATIVE_PLUGIN: String
ContentProvider Action: Used for NativePluginProvider.
AUTHORITY
Link copied to clipboard
const val AUTHORITY: String
The authority for general plugin actions.
COLUMN_MODE
Link copied to clipboard
const val COLUMN_MODE: String
File mode bits.
COLUMN_PATH
Link copied to clipboard
const val COLUMN_PATH: String
Relative to the file to be copied.
EXTRA_ENTRY
Link copied to clipboard
const val EXTRA_ENTRY: String
The lookup key for a string that provides the plugin entry binary.
EXTRA_HELP_MESSAGE
Link copied to clipboard
const val EXTRA_HELP_MESSAGE: String
The lookup key for a CharSequence that provides user relevant help message.
EXTRA_OPTIONS
Link copied to clipboard
const val EXTRA_OPTIONS: String
The lookup key for a string that provides the options as a string.
METADATA_KEY_DEFAULT_CONFIG
Link copied to clipboard
const val METADATA_KEY_DEFAULT_CONFIG: String
The metadata key to retrieve default configuration.
METADATA_KEY_EXECUTABLE_PATH
Link copied to clipboard
const val METADATA_KEY_EXECUTABLE_PATH: String
The metadata key to retrieve executable path to your native binary.
METADATA_KEY_ID
Link copied to clipboard
const val METADATA_KEY_ID: String
The metadata key to retrieve plugin id.
METADATA_KEY_ID_ALIASES
Link copied to clipboard
const val METADATA_KEY_ID_ALIASES: String
The metadata key to retrieve plugin id aliases.
METADATA_KEY_VERSION
Link copied to clipboard
const val METADATA_KEY_VERSION: String
The metadata key to retrieve plugin version.
METHOD_GET_EXECUTABLE
Link copied to clipboard
const val METHOD_GET_EXECUTABLE: String
RESULT_FALLBACK
Link copied to clipboard
const val RESULT_FALLBACK: Int = 1
ConfigurationActivity result: fallback to manual edit mode.
SCHEME
Link copied to clipboard
const val SCHEME: String
The scheme for general plugin actions.