Socket
Book a DemoInstallSign in
Socket

capacitor-native-downloader

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capacitor-native-downloader

native file downloader

0.0.7
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

capacitor-native-downloader

native file downloader

Install

npm install capacitor-native-downloader
npx cap sync

API

  • echo(...)
  • add(...)
  • start(...)
  • pause(...)
  • resume(...)
  • cancel(...)
  • Interfaces

echo(...)

echo(options: { value: string; }) => any
ParamType
options{ value: string; }

Returns: any

add(...)

add(options: { params: IAddDownloadRequest; }) => any
ParamType
options{ params: IAddDownloadRequest; }

Returns: any

start(...)

start(options: { params: IStartDownloadRequest; }) => any
ParamType
options{ params: IStartDownloadRequest; }

Returns: any

pause(...)

pause(options: { params: IPauseDownloadRequest; }) => any
ParamType
options{ params: IPauseDownloadRequest; }

Returns: any

resume(...)

resume(options: { params: IResumeDownloadRequest; }) => any
ParamType
options{ params: IResumeDownloadRequest; }

Returns: any

cancel(...)

cancel(options: { params: ICancelDownloadRequest; }) => any
ParamType
options{ params: ICancelDownloadRequest; }

Returns: any

Interfaces

IAddDownloadRequest

PropType
idstring
urlstring
sizenumber
filePathstring
fileNamestring
displayNamestring
headers{ authorization: string; }

IAddDownloadResponse

PropType
idstring
fileNamestring
absolutePathstring

IStartDownloadRequest

PropType
idstring

IStartDownloadResponse

PropType
idstring
filenamestring
absolutePathstring

IPauseDownloadRequest

PropType
idstring

IPauseDownloadResponse

PropType
idstring
filenamestring
absolutePathstring

IResumeDownloadRequest

PropType
idstring

IResumeDownloadResponse

PropType
idstring
filenamestring
absolutePathstring

ICancelDownloadRequest

PropType
idstring

ICancelDownloadResponse

PropType
idstring
filenamestring
absolutePathstring

Keywords

capacitor

FAQs

Package last updated on 18 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.