Reference / Modules / client-expo / ExpoFileUploader
Class: ExpoFileUploader
client-expo.ExpoFileUploader
Hierarchy
-
AxiosFileUploader
↳
ExpoFileUploader
Table of contents
Constructors
Methods
Constructors
constructor
• new ExpoFileUploader(): ExpoFileUploader
Returns
Inherited from
AxiosFileUploader.constructor
Methods
buildFormData
▸ buildFormData(): FormDataLike
Returns
FormDataLike
Overrides
AxiosFileUploader.buildFormData
Defined in
ensureExpo
▸ ensureExpo(file
): ExpoFile
Parameters
Name | Type |
---|---|
file | File |
Returns
Defined in
toFormDataValue
▸ toFormDataValue(file
): Promise
<{ name
: string
; type
: string
; uri
: string
}>
Parameters
Name | Type |
---|---|
file | File |
Returns
Promise
<{ name
: string
; type
: string
; uri
: string
}>
Overrides
AxiosFileUploader.toFormDataValue
Defined in
upload
▸ upload(parameters
): Promise
<void
>
Parameters
Name | Type |
---|---|
parameters | FileUploadParameters |
Returns
Promise
<void
>
Inherited from
AxiosFileUploader.upload
Defined in
client/dist/ComponentFactory.d.ts:40