Options
All
  • Public
  • Public/Protected
  • All
Menu

Tools provided by the SDK

Index

Variables

utils: Utils = ...

Functions

  • EMPTYFN(): undefined
  • Returns undefined

  • _listenNetwork(onlineCallback: (() => void), offlineCallback: (() => void)): void
  • Parameters

    • onlineCallback: (() => void)
        • (): void
        • Returns void

    • offlineCallback: (() => void)
        • (): void
        • Returns void

    Returns void

  • download(this: any, options: DownloadParams, operateName?: OperationName): void
  • description

    download file

    Parameters

    Returns void

  • getUniqueId(this: Utils): string
  • description

    get unique message id

    Parameters

    Returns string

  • listenBrowserVisibility(...args: any[]): any
  • Parameters

    • Rest ...args: any[]

    Returns any

  • listenNetwork(...args: any[]): any
  • description

    listen network change

    Parameters

    • Rest ...args: any[]

    Returns any

  • once(fn: any, context?: object): ((...args: any[]) => any)
  • Parameters

    • fn: any
    • Optional context: object

    Returns ((...args: any[]) => any)

      • (...args: any[]): any
      • Parameters

        • Rest ...args: any[]

        Returns any

  • description

    upload file

    Parameters

    Returns void

Generated using TypeDoc