VideoStatus class

Object specifying more fine-grained status for this video item. If "state" is "inprogress" or "error", "step" will be one of "encoding" or "manifest". When "state" is "inprogress", "pctComplete" will be a number between 0 and 100 indicating the approximate percent of that step that has been completed. If the "state" is "error", "errorReasonCode" and "errorReasonText" will contain additional details.

Available Extensions
Annotations
  • @CopyWith(skipFields: true)
  • @JsonSerializable()

Constructors

VideoStatus({MediaProcessingState? state, int? pctComplete, String? errorReasonCode, String? errorReasonText})
const
VideoStatus.fromJson(Map<String, dynamic> json)
factory

Properties

errorReasonCode String?
Provides an error code on why this video failed to encode. Empty if the state is not in "error". This field should be preferred for programmatic use.
final
errorReasonText String?
Provides a reason in English on why this video failed to encode. Empty if the state is not in "error".
final
hashCode int
The hash code for this object.
no setterinherited
pctComplete int
Indicates the percent upload completed of the entire upload in bytes. The value must be a non-negative integer.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state MediaProcessingState
Specifies the processing status of the video.
final

Methods

fromJsonList(List? jsonList) List<VideoStatus>?
inherited
fromJsonMap(Map<String, dynamic>? json) VideoStatus?
fromJsonString(String? json) VideoStatus?
inherited
fromJsonStringList(String? jsonStringList) List<VideoStatus>?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toJsonMap() Map<String, dynamic>
inherited
toJsonString() String
inherited
toString() String
This is just to suggest children to implement a named constructor to support creating objects fromJson(...) and fromJsonString(...) as easy as T.build().fromJson(...) or T.build().fromJsonString(...)
inherited

Operators

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