runtime
Contains information about the extension and it’s environment.
Functions
runtime.getFileIconURL
runtime.getFileIconURL(filePath: string): string;
Return the icon URL of a file.
Example
runtime.getManifest
runtime.getManifest(): Promise<ExtensionManifest>;
Get the Extension Manifest object.
runtime.config.getValues
runtime.config.getValues<T>(type: ConfigType): Promise<T>;
Get the extension or the current command configuration values.
runtime.config.openConfigPage
runtime.config.openConfigPage(type: ConfigType): Promise<void>;
Open the command or the current command configuration page in the Command Bar. If the extension or the command doesn’t have a configuration defined in the manifest, it will do nothing.
Properties
runtime.platform
Get information about the current platform.
Types
runtime.PlatformInfo
Contains information about the environment the extension running on.
Property | Type | Description |
---|---|---|
appVersion | string | The Alt. app version |
os | PlatformOS | The platform’s operating system |
arch | PlatformArch | The platform’s processor architecture |
runtime.PlatformOS
The platform’s operating system.
runtime.PlatformArch
The platform’s processor architecture.
runtime.config.ConfigType
The extension’s config type.