WhiteLocalLogUploadResult

  • Web

更新时间

Whiteboard Web SDK 2.16.59 公开 type。

TypeScript
export declare type WhiteLocalLogUploadResult = {
    status: "success";
    taskId: number;
    fileSize: number;
    fileName: string;
    lastId?: number;
    serialNumber?: string;
} | {
    status: "skipped";
    reason: "disabled" | "unsupported" | "foundationUnavailable" | "workerUnavailable" | "uploadDisabled" | "missingPolicyHost" | "empty" | "missingContext" | "busy" | "timeout";
    fileSize?: number;
} | {
    status: "failure";
    taskId: number;
    stage: WhiteLocalLogUploadStage;
    fileSize?: number;
    error: Error;
};

这个页面有帮助吗?