Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PlatformService

Hierarchy

  • PlatformService

Index

Constructors

Properties

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

Accessors

  • get displayMetricsChanged$(): Observable<void>

Methods

  • exec(app: string, argv: string[]): void
  • getAppVersion(): string
  • getConfigPath(): null | string
  • getOSRelease(): string
  • 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
  • quit(): void
  • readClipboard(): string
  • saveConfig(content: string): Promise<void>
  • setErrorHandler(handler: (_: any) => void): void
  • Parameters

    • handler: (_: any) => void
        • (_: any): void
        • Parameters

          • _: any

          Returns void

    Returns void

  • showItemInFolder(path: string): void
  • startDownload(name: string, mode: number, size: number): Promise<null | FileDownload>
  • startUploadFromDragEvent(event: DragEvent, multiple?: boolean): FileUpload[]
  • uninstallPlugin(name: string): Promise<void>
  • uninstallShellIntegration(): Promise<void>

Generated using TypeDoc