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
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
- uploadFile(this: any, options: UploadFile, operateName?: OperationName): void
Parameters
this: any
Optional operateName: OperationName
Returns void
Tools provided by the SDK