Partager via


FileResult interface

Note

This API is in Beta and provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Output of getDragAndDropFiles API from platform

Properties

error

Error encountered in getDragAndDropFiles API

fileChunk

File chunk which will be assemebled and converted into a blob

fileIndex

File index of the file for which chunk data is getting recieved

fileName

The name of the file.

fileType

File type/MIME type which is getting recieved

isLastFile

Indicates whether this file is the last one in a sequence.

Property Details

error

Error encountered in getDragAndDropFiles API

error?: SdkError

Property Value

fileChunk

File chunk which will be assemebled and converted into a blob

fileChunk: FileChunk

Property Value

fileIndex

File index of the file for which chunk data is getting recieved

fileIndex: number

Property Value

number

fileName

The name of the file.

fileName: string

Property Value

string

fileType

File type/MIME type which is getting recieved

fileType: string

Property Value

string

isLastFile

Indicates whether this file is the last one in a sequence.

isLastFile: boolean

Property Value

boolean