Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PlatformService Abstract

Hierarchy

  • PlatformService

Index

Constructors

Properties

displayMetricsChanged: Subject<void> = ...
fileTransferStarted: Subject<FileTransfer> = ...
supportsWindowControls: boolean = false
themeChanged: Subject<PlatformTheme> = ...

Accessors

  • get displayMetricsChanged$(): Observable<void>
  • get themeChanged$(): Observable<PlatformTheme>

Methods

  • exec(app: string, argv: string[]): Promise<void>
  • getAppVersion(): string
  • getConfigPath(): null | string
  • getOSRelease(): string
  • getTheme(): PlatformTheme
  • getWinSCPPath(): null | string
  • installPlugin(name: string, version: string): Promise<void>
  • installShellIntegration(): Promise<void>
  • isProcessRunning(name: string): Promise<boolean>
  • isShellIntegrationInstalled(): Promise<boolean>
  • isShellIntegrationSupported(): boolean
  • listFonts(): Promise<string[]>
  • loadConfig(): Promise<string>
  • openExternal(url: string): void
  • openPath(path: string): void
  • pickDirectory(): Promise<string>
  • quit(): void
  • readClipboard(): string
  • saveConfig(content: string): Promise<void>
  • setErrorHandler(handler: ((_: any) => void)): void
  • showItemInFolder(path: string): void
  • startDownload(name: string, mode: number, size: number): Promise<null | FileDownload>
  • startUploadFromDragEvent(event: DragEvent, multiple?: boolean): Promise<DirectoryUpload>
  • uninstallPlugin(name: string): Promise<void>
  • uninstallShellIntegration(): Promise<void>

Generated using TypeDoc