Class QMediaFormat
java.lang.Object
io.qt.QtObject
io.qt.multimedia.QMediaFormat
- All Implemented Interfaces:
QtObjectInterface,Cloneable
Describes an encoding format for a multimedia file or stream
Java wrapper for Qt class QMediaFormat
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumJava wrapper for Qt enumQMediaFormat::AudioCodecstatic enumJava wrapper for Qt enumQMediaFormat::ConversionModestatic enumJava wrapper for Qt enumQMediaFormat::FileFormatstatic enumJava wrapper for Qt enumQMediaFormat::ResolveFlagsstatic enumJava wrapper for Qt enumQMediaFormat::VideoCodec -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QMetaObjectThis variable stores the meta-object for the class. -
Constructor Summary
ConstructorsConstructorDescriptionOverloaded constructor forQMediaFormat(io.qt.multimedia.QMediaFormat.FileFormat)withformat = io.qt.multimedia.QMediaFormat.FileFormat.UnspecifiedFormat.QMediaFormat(QMediaFormat other) QMediaFormat(QMediaFormat.FileFormat format) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QMediaFormat other) final voidassign(QMediaFormat.FileFormat other) Overloaded function forassign(io.qt.multimedia.QMediaFormat).final QMediaFormat.AudioCodecstatic Stringstatic Stringclone()Creates and returns a copy of this object.final booleanequals(QMediaFormat other) final booleanequals(QMediaFormat.FileFormat other) Overloaded function forequals(io.qt.multimedia.QMediaFormat).booleanfinal QMediaFormat.FileFormatstatic StringfileFormatDescription(QMediaFormat.FileFormat fileFormat) static StringfileFormatName(QMediaFormat.FileFormat fileFormat) inthashCode()Returns the objects's hash code computed byqHash(QMediaFormat).final booleanfinal QMimeTypemimeType()final voidfinal voidfinal voidfinal voidfinal QList<QMediaFormat.AudioCodec> final QList<QMediaFormat.FileFormat> final QList<QMediaFormat.VideoCodec> final voidswap(QMediaFormat other) final QMediaFormat.VideoCodecstatic Stringstatic StringMethods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QMediaFormat
- Parameters:
other-
-
QMediaFormat
- Parameters:
format-
-
QMediaFormat
public QMediaFormat()Overloaded constructor for
QMediaFormat(io.qt.multimedia.QMediaFormat.FileFormat)withformat = io.qt.multimedia.QMediaFormat.FileFormat.UnspecifiedFormat.
-
-
Method Details
-
audioCodec
- Returns:
-
fileFormat
- Returns:
-
isSupported
- Parameters:
mode-- Returns:
-
mimeType
-
assign
- Parameters:
other-
-
equals
- Parameters:
other-- Returns:
-
resolveForEncoding
- Parameters:
flags-
-
setAudioCodec
- Parameters:
codec-
-
setFileFormat
- Parameters:
f-
-
setVideoCodec
- Parameters:
codec-
-
supportedAudioCodecs
- Parameters:
m-- Returns:
-
supportedFileFormats
- Parameters:
m-- Returns:
-
supportedVideoCodecs
- Parameters:
m-- Returns:
-
swap
- Parameters:
other-
-
videoCodec
- Returns:
-
audioCodecDescription
- Parameters:
codec-- Returns:
-
audioCodecName
- Parameters:
codec-- Returns:
-
fileFormatDescription
- Parameters:
fileFormat-- Returns:
-
fileFormatName
- Parameters:
fileFormat-- Returns:
-
videoCodecDescription
- Parameters:
codec-- Returns:
-
videoCodecName
- Parameters:
codec-- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QMediaFormat). -
clone
Creates and returns a copy of this object.
-
assign
Overloaded function for
assign(io.qt.multimedia.QMediaFormat). -
equals
Overloaded function for
equals(io.qt.multimedia.QMediaFormat).
-