ExtensionContext

Plugin context information.

export class ExtensionContext {

  isValid?: boolean;

  uid?: number;

  providerName?: string;

  extensionName?: string;
}

Properties

isValid
Whether the uid reported in ExtensionContext is valid:
  • true: uid is valid.
  • false: uid is invalid.
uid
User ID. 0 represents the local user, values greater than 0 represent remote users.
providerName
Name of the plugin provider.
extensionName
Name of the plugin.