0.1.9 • Published 1 year ago

capacitor-file-chunk-reader v0.1.9

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

capacitor-file-chunk-reader

A capacitor plugin for Android and IOS to upload BIG files in chunks to

  • Dropbox
  • Azure Blob Storage

Install

npm install capacitor-file-chunk-reader
npx cap sync

API

readChunk(...)

readChunk(options: DropboxMobileOptions) => Promise<{ data: string; }>
ParamType
optionsDropboxMobileOptions

Returns: Promise<{ data: string; }>


dropboxUploadFileChunk(...)

dropboxUploadFileChunk(options: DropboxMobileOptions | DropboxWebOptions) => void
ParamType
optionsDropboxMobileOptions | DropboxWebOptions

dropboxUploadFile(...)

dropboxUploadFile(options: DropboxMobileOptions | DropboxWebOptions) => void
ParamType
optionsDropboxMobileOptions | DropboxWebOptions

azureBlobStorageUploadFileChunk(...)

azureBlobStorageUploadFileChunk(options: AzureBlobStorageMobileOptions | AzureBlobStorageWebOptions) => void
ParamType
optionsAzureBlobStorageMobileOptions | AzureBlobStorageWebOptions

azureBlobStorageUploadFile(...)

azureBlobStorageUploadFile(options: AzureBlobStorageMobileOptions | AzureBlobStorageWebOptions) => void
ParamType
optionsAzureBlobStorageMobileOptions | AzureBlobStorageWebOptions

Interfaces

DropboxMobileOptions

PropType
uristring
accessTokenstring
targetPathstring
fileSizenumber

DropboxWebOptions

PropType
accessTokenstring
fileFile
targetPathstring
progressCallback(progress: any) => void
doneCallback(success: boolean, response: any) => void

AzureBlobStorageMobileOptions

PropType
sasTokenstring
accountNamestring
containerNamestring
targetPathstring
fileSizenumber

AzureBlobStorageWebOptions

PropType
sasTokenstring
accountNamestring
containerNamestring
fileFile
targetPathstring
progressCallback(progress: any) => void
doneCallback(success: boolean, response: any) => void
0.1.0

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.9

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

0.0.1

1 year ago