Artwork class

The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20.

To remove artwork or leave the artwork empty, you can either set Artwork to null, or set the Merge Policy to "Replace" and use an empty Artwork array.

To pass through existing artwork unchanged, set the Merge Policy to "Prepend", "Append", or "Fallback", and use an empty Artwork array.

Constructors

Artwork({String? albumArtFormat, Encryption? encryption, String? inputKey, String? maxHeight, String? maxWidth, String? paddingPolicy, String? sizingPolicy})
Artwork.fromJson(Map<String, dynamic> json)
factory

Properties

albumArtFormat String?
The format of album art, if any. Valid formats are .jpg and .png.
final
encryption Encryption?
The encryption settings, if any, that you want Elastic Transcoder to apply to your artwork.
final
hashCode int
The hash code for this object.
no setterinherited
inputKey String?
The name of the file to be used as album art. To determine which Amazon S3 bucket contains the specified file, Elastic Transcoder checks the pipeline specified by PipelineId; the InputBucket object in that pipeline identifies the bucket.
final
maxHeight String?
The maximum height of the output album art in pixels. If you specify auto, Elastic Transcoder uses 600 as the default value. If you specify a numeric value, enter an even integer between 32 and 3072, inclusive.
final
maxWidth String?
The maximum width of the output album art in pixels. If you specify auto, Elastic Transcoder uses 600 as the default value. If you specify a numeric value, enter an even integer between 32 and 4096, inclusive.
final
paddingPolicy String?
When you set PaddingPolicy to Pad, Elastic Transcoder may add white bars to the top and bottom and/or left and right sides of the output album art to make the total size of the output art match the values that you specified for MaxWidth and MaxHeight.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizingPolicy String?
Specify one of the following values to control scaling of the output album art:
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