Whether to use standard upload.
Note: The default setting false, the uploaded in fragments. The standard upload limit is 100MB in size. If the host environment does not support fragment upload, it will automatically changes to the standard upload.
DOM node or node ID of an Input[type=file] element.
Note: browser-specific, the SDK will read the first selected file under this node, please do not operate the file under this node before the upload is complete.
Note 2: Only one of the fileInput, file, filePath, and blob is required.
Temporary file path
Note: React Native, Mini Program and other special JS runtime environments (the temporary path obtained by chooseImage)
Note 2: Only one of the fileInput, file, filePath, and blob is required.
size limit of a file in bytes.
Note: For mini programs, React Native apps and other environments, since there is only filePath without specific file information, this field cannot be used to evaluate the file size, you must evaluate the file size on your own.
The validity period of uploaded files stored on NetEase Object Storage (NOS).
File type, image, video, audio, and file.
JavaScript file object.
Note: it is recommended that you use this parameter to take information such as the file name extension,
Note 2: Only one of the fileInput, file, filePath, and blob is required.