Functions
_listenNetwork
- _listenNetwork(onlineCallback: (() => void), offlineCallback: (() => void)): void
Parameters
onlineCallback: (() => void)
offlineCallback: (() => void)
Returns void
download
- download(this: any, options: DownloadParams, operateName?: OperationName): void
Parameters
this: any
Optional operateName: OperationName
Returns void
getUniqueId
- getUniqueId(this: Utils): string
listenBrowserVisibility
- listenBrowserVisibility(...args: any[]): any
listenNetwork
- listenNetwork(...args: any[]): any
once
- once(fn: any, context?: object): ((...args: any[]) => any)
Parameters
fn: any
Optional context: object
Returns ((...args: any[]) => any)
uploadFile
Parameters
Optional operateName: OperationName
Returns void
Tools provided by the SDK