MediaFormat enum

Inheritance
Available extensions

Values

mpeg4 → const MediaFormat
const MediaFormat(id: 0x0, name: "MPEG-4", suffix: "mp4", mimeType: "video/mp4")
v3gpp → const MediaFormat
const MediaFormat(id: 0x10, name: "3GPP", suffix: "3gp", mimeType: "video/3gpp")
webm → const MediaFormat
const MediaFormat(id: 0x20, name: "WebM", suffix: "webm", mimeType: "video/webm")
m4a → const MediaFormat
const MediaFormat(id: 0x100, name: "m4a", suffix: "m4a", mimeType: "audio/mp4")
webma → const MediaFormat
const MediaFormat(id: 0x200, name: "WebM", suffix: "webm", mimeType: "audio/webm")
mp3 → const MediaFormat
const MediaFormat(id: 0x300, name: "MP3", suffix: "mp3", mimeType: "audio/mpeg")
mp2 → const MediaFormat
const MediaFormat(id: 0x310, name: "MP2", suffix: "mp2", mimeType: "audio/mpeg")
opus → const MediaFormat
const MediaFormat(id: 0x400, name: "opus", suffix: "opus", mimeType: "audio/opus")
ogg → const MediaFormat
const MediaFormat(id: 0x500, name: "ogg", suffix: "ogg", mimeType: "audio/ogg")
webmaOpus → const MediaFormat
const MediaFormat(id: 0x200, name: "WebM Opus", suffix: "webm", mimeType: "audio/webm")
aiff → const MediaFormat
const MediaFormat(id: 0x600, name: "AIFF", suffix: "aiff", mimeType: "audio/aiff")
aif → const MediaFormat

Same as MediaFormat.aiff, just with the shorter suffix/file extension

const MediaFormat(id: 0x600, name: "AIFF", suffix: "aif", mimeType: "audio/aiff")
wav → const MediaFormat
const MediaFormat(id: 0x700, name: "WAV", suffix: "wav", mimeType: "audio/wav")
flac → const MediaFormat
const MediaFormat(id: 0x800, name: "FLAC", suffix: "flac", mimeType: "audio/flac")
alac → const MediaFormat
const MediaFormat(id: 0x900, name: "ALAC", suffix: "alac", mimeType: "audio/alac")
vtt → const MediaFormat
const MediaFormat(id: 0x1000, name: "WebVTT", suffix: "vtt", mimeType: "text/vtt")
ttml → const MediaFormat
const MediaFormat(id: 0x2000, name: "Timed Text Markup Language", suffix: "ttml", mimeType: "application/ttml+xml")
transcript1 → const MediaFormat
const MediaFormat(id: 0x3000, name: "TranScript v1", suffix: "srv1", mimeType: "text/xml")
transcript2 → const MediaFormat
const MediaFormat(id: 0x4000, name: "TranScript v2", suffix: "srv2", mimeType: "text/xml")
transcript3 → const MediaFormat
const MediaFormat(id: 0x5000, name: "TranScript v3", suffix: "srv3", mimeType: "text/xml")
srt → const MediaFormat
const MediaFormat(id: 0x6000, name: "SubRip file format", suffix: "srt", mimeType: "text/srt")

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
final
index int
A numeric identifier for the enumerated value.
no setterinherited
mimeType String
final
name String
final
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suffix String
final

Methods

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

Operators

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

Constants

values → const List<MediaFormat>
A constant List of the values in this enum, in order of their declaration.