mode

Get the current mode.

Type

Mode

A plugin can launch in a special mode where only a subset of the API is allowed. The mode is set when the plugin launches and never changes while the plugin is active.