VideoTaskStatusResult class

视频任务状态查询结果

Constructors

VideoTaskStatusResult({required bool success, required String taskId, required VideoTaskStatus status, required String message, double? progress, String? videoUrl, Map<String, dynamic>? analysis, Map<String, dynamic>? script, String? error, String? createdAt, String? updatedAt})
const

Properties

analysis Map<String, dynamic>?
场景分析数据(成功时返回)
final
createdAt String?
创建时间
final
duration int
获取视频时长(秒)
no setter
error String?
错误信息(失败时返回)
final
hasAnalysis bool
是否有视频分析数据
no setter
hashCode int
The hash code for this object.
no setterinherited
hasScript bool
是否有视频脚本数据
no setter
isCompleted bool
是否完成(成功或失败)
no setter
isFailed bool
是否失败
no setter
isSucceeded bool
是否成功完成
no setter
message String
状态消息
final
progress double?
进度(0-100)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
script Map<String, dynamic>?
视频脚本数据(成功时返回)
final
status VideoTaskStatus
任务状态
final
success bool
是否成功查询
final
taskId String
任务ID
final
updatedAt String?
更新时间
final
videoUrl String?
视频URL(成功时返回)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited