MediaSubtype enum

Inheritance

Constructors

MediaSubtype()
const

Values

textPlain → const MediaSubtype

text/plain just plain/normal text

textHtml → const MediaSubtype

text/html text in HTML format

textCalendar → const MediaSubtype

text/calendar or x-vcalendar https://www.iana.org/go/rfc5545

as an attachment you can also use MediaSubtype.applicationIcs

textVcard → const MediaSubtype

text/vcard https://www.iana.org/go/rfc6350

textMarkdown → const MediaSubtype

text/markdown https://www.iana.org/go/rfc7763

textRfc822Headers → const MediaSubtype

text/rfc822-headers Headers of an email message

audioBasic → const MediaSubtype

audio/basic basic audio

audioMpeg → const MediaSubtype

audio/mpeg mpeg audio

audioMp3 → const MediaSubtype

audio/mp3 mp3 audio

audioMp4 → const MediaSubtype

audio/mp4 mp4 audio

audioOgg → const MediaSubtype

audio/ogg ogg audio

audioWav → const MediaSubtype

audio/wav wav audio

audioMidi → const MediaSubtype

audio/midi midi audio

audioMod → const MediaSubtype

audio/mod mod audio

audioAiff → const MediaSubtype

audio/aiff aiff audio

audioWebm → const MediaSubtype

audio/webm webm audio

audioAac → const MediaSubtype

audio/aac aac audio

imageJpeg → const MediaSubtype

image/jpeg jpeg/jpg image

imagePng → const MediaSubtype

image/png png image

imageGif → const MediaSubtype

image/gif gif image

imageWebp → const MediaSubtype

image/webp webp image

imageBmp → const MediaSubtype

image/bmp bmp image

imageSvgXml → const MediaSubtype

image/svg+xml svg image in xml format

videoMpeg → const MediaSubtype

video/mpeg mpeg video

videoMp4 → const MediaSubtype

video/mp4 mp4 video

videoWebm → const MediaSubtype

video/webm webm video

videoH264 → const MediaSubtype

video/h264 h264 video

videoOgg → const MediaSubtype

video/ogg ogg video

applicationJson → const MediaSubtype

application/json json data

applicationZip → const MediaSubtype

application/zip compressed file

applicationXml → const MediaSubtype

application/xml xml data

applicationOctetStream → const MediaSubtype

application/octet-stream binary data

applicationCalendarJson → const MediaSubtype

application/calendar+json calendar data https://www.iana.org/go/rfc7265

applicationCalendarXml → const MediaSubtype

application/calendar+xml calendar data https://www.iana.org/go/rfc6321

applicationVcardJson → const MediaSubtype

application/vcard+json contact data

applicationVcardXml → const MediaSubtype

application/vcard+xml contact data

applicationPdf → const MediaSubtype

application/pdf https://www.iana.org/go/rfc8118

applicationIcs → const MediaSubtype

application/ics iCalendar attachment

Within an alternative multipart you need to use MediaSubtype.textCalendar instead

applicationOfficeDocumentWordProcessingDocument → const MediaSubtype

application/vnd.openxmlformats-officedocument.wordprocessingml.document

applicationOfficeDocumentWordProcessingTemplate → const MediaSubtype

application/vnd.openxmlformats-officedocument.wordprocessingml.template

applicationOfficeDocumentSpreadsheetSheet → const MediaSubtype

application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

applicationOfficeDocumentSpreadsheetTemplate → const MediaSubtype

application/vnd.openxmlformats-officedocument.spreadsheetml.template

applicationOfficeDocumentPresentationPresentation → const MediaSubtype

application/vnd.openxmlformats-officedocument.presentationml.presentation

applicationOfficeDocumentPresentationTemplate → const MediaSubtype

application/vnd.openxmlformats-officedocument.presentationml.template

applicationPgpSignature → const MediaSubtype

application/pgp-signature part that contains the signature

https://tools.ietf.org/html/rfc3156

applicationPgpEncrypted → const MediaSubtype

application/pgp-encrypted encrypted message part

https://tools.ietf.org/html/rfc3156

applicationPgpKeys → const MediaSubtype

applicationPgpKeys part that contains PGP keys

compare https://tools.ietf.org/html/rfc3156

modelMesh → const MediaSubtype

model/mesh 3D model

modelVrml → const MediaSubtype

model/vrml 3D model

modelX3dXml → const MediaSubtype

model/x3d+xml 3D model

modelX3dVrml → const MediaSubtype

model/x3d+vrml or model/x3d-vrml 3D model

modelX3dBinary → const MediaSubtype

model/x3d+binary or model/x3d+fastinfoset 3D model

modelVndColladaXml → const MediaSubtype

model/vnd.collada+xml 3D model

messageRfc822 → const MediaSubtype

message/rfc822 embedded message,

https://tools.ietf.org/html/rfc2045 https://tools.ietf.org/html/rfc2046

messagePartial → const MediaSubtype

message/partial partial message,

https://tools.ietf.org/html/rfc2045 https://tools.ietf.org/html/rfc2046

messageDeliveryStatus → const MediaSubtype

delivery status of a message,

https://tools.ietf.org/html/rfc1894

messageDispositionNotification → const MediaSubtype

read receipt,

https://tools.ietf.org/html/rfc8098

multipartAlternative → const MediaSubtype

multipart/alternative show on of the embedded parts

multipartMixed → const MediaSubtype

multipart/mixed show all embedded parts in the given sequence

multipartParallel → const MediaSubtype

multipart/parallel show all embedded parts at once

multipartPartial → const MediaSubtype

multipart/partial contains a single part of a bigger complete part.

multipartRelated → const MediaSubtype

multipart/related contains parts that belong logically together

multipartDigest → const MediaSubtype

multipart/digest contains several rcf822 messages

multipartSigned → const MediaSubtype

multipart/signed signed message

https://tools.ietf.org/html/rfc1847

multipartEncrypted → const MediaSubtype

multipart/encrypted encrypted message

https://tools.ietf.org/html/rfc1847

multipartReport → const MediaSubtype

multipart/report Report

https://tools.ietf.org/html/rfc6522

fontOtf → const MediaSubtype

font/otf otf font

fontTtf → const MediaSubtype

font/ttf ttf font

fontWoff → const MediaSubtype

font/woff woff font

fontWoff2 → const MediaSubtype

font/woff2 woff2 font

fontCollection → const MediaSubtype

font/collection collection of several fonts

other → const MediaSubtype

other media sub type

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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<MediaSubtype>
A constant List of the values in this enum, in order of their declaration.