Options
All
  • Public
  • Public/Protected
  • All
Menu

Tools provided by the SDK

Index

Variables

utils: Utils = ...

Functions

  • _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

  • 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

  • uploadFile(this: any, options: UploadFile, operateName?: OperationName): void
  • description

    upload file

    Parameters

    • this: any
    • options: UploadFile
    • Optional operateName: OperationName

    Returns void

Generated using TypeDoc