AppStorePreviewEntry class
One preview video Apple holds on a version.
Apple's field names, deliberately. The consumer asked for this and it
is right: videoDeliveryState, previewFrameImage and
previewFrameTimeCode are what Apple's own documentation calls these, so a
reader can put this document beside the App Store Connect API reference
without a translation table. Where this package has an opinion it says so
in a separate field rather than renaming Apple's.
Two states, not one, because Apple ingests two assets. The video is
processed and the poster frame is cut out of it afterwards; a preview is
finished only when both say COMPLETE, and a caller that watched one would
call a half-finished preview ready. Both are Apple's strings rather than a
closed vocabulary of ours: nothing here has seen enough of them to name a
stable set, and inventing one would be this package claiming knowledge it
does not have.
- Annotations
-
- @JsonSerializable.new(explicitToJson: true)
Constructors
- AppStorePreviewEntry({required String? id, required String? locale, required String? previewType, required String? fileName, required String? videoDeliveryState, required String? previewFrameImageState, required String? previewFrameTimeCode, required bool done})
-
const
-
AppStorePreviewEntry.fromJson(Map<
String, dynamic> json) -
factory
Properties
- done → bool
-
Whether Apple has finished with both assets.
final
- fileName → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
Apple's
appPreviewsid, which is the only thing that addresses it.final - locale → String?
-
The
appStoreVersionLocalizationslocale this preview hangs off, such asen-US. Two collections up from the preview itself, and the half of what names it to a person.final - previewFrameImageState → String?
-
Apple's
previewFrameImage.state.state, verbatim, or null.final - previewFrameTimeCode → String?
-
The frame the product page poses on, as
HH:MM:SS:FF, or null.final - previewType → String?
-
Apple's
PreviewType—IPHONE_67and so on.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- videoDeliveryState → String?
-
Apple's
videoDeliveryState.state, verbatim, or null when it reported none.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited