fetchBigPublicFileUploadState(pollingToken: string)
Requires:
@tuya-miniapp/cloud-api≥1.0.5
Description
Poll large-file upload status
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
pollingToken | string | Yes | Polling key for large-file storage results |
Return Value
Type: Promise<UploadState>
UploadState: bizUrl (long-term cloud storage URL)
Referenced Types
type
UploadStateUpload result status returned by `fetchDeviceFileUploadState` / `fetchBigPublicFileUploadState`.| Property | Type | Description |
|---|---|---|
bizUrl | string | Long-term cloud storage access URL (returned after the upload completes and is ready) |
pollingToken | string | Token used to poll results for large files; pass to `fetchBigPublicFileUploadState` |