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's class QMediaFormat
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QMediaFormat::AudioCodecstatic enum
Java wrapper for Qt enum QMediaFormat::ConversionModestatic enum
Java wrapper for Qt enum QMediaFormat::FileFormatstatic enum
Java wrapper for Qt enum QMediaFormat::ResolveFlagsstatic enum
Java wrapper for Qt enum QMediaFormat::VideoCodecNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forQMediaFormat(io.qt.multimedia.QMediaFormat.FileFormat)
withformat = io.qt.multimedia.QMediaFormat.FileFormat.UnspecifiedFormat
.QMediaFormat
(QMediaFormat other) QMediaFormat
(QMediaFormat.FileFormat format) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QMediaFormat other) final QMediaFormat.AudioCodec
static String
static String
clone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final QMediaFormat.FileFormat
static String
fileFormatDescription
(QMediaFormat.FileFormat fileFormat) static String
fileFormatName
(QMediaFormat.FileFormat fileFormat) final QMediaFormat.AudioCodec
Kotlin property getter.final QMediaFormat.FileFormat
Kotlin property getter.final QMediaFormat.VideoCodec
Kotlin property getter.int
hashCode()
final boolean
final QMimeType
mimeType()
final void
final void
final void
final void
final QList<QMediaFormat.AudioCodec>
final QList<QMediaFormat.FileFormat>
final QList<QMediaFormat.VideoCodec>
final void
swap
(QMediaFormat other) final QMediaFormat.VideoCodec
static String
static String
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QMediaFormat
public QMediaFormat()Overloaded constructor for
QMediaFormat(io.qt.multimedia.QMediaFormat.FileFormat)
withformat = io.qt.multimedia.QMediaFormat.FileFormat.UnspecifiedFormat
. -
QMediaFormat
-
QMediaFormat
-
QMediaFormat
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
getAudioCodec
Kotlin property getter. In Java use
audioCodec()
instead. -
audioCodec
-
getFileFormat
Kotlin property getter. In Java use
fileFormat()
instead. -
fileFormat
-
isSupported
-
mimeType
-
assign
-
resolveForEncoding
-
setAudioCodec
-
setFileFormat
-
setVideoCodec
-
supportedAudioCodecs
-
supportedFileFormats
-
supportedVideoCodecs
-
swap
-
getVideoCodec
Kotlin property getter. In Java use
videoCodec()
instead. -
videoCodec
-
audioCodecDescription
-
audioCodecName
-
fileFormatDescription
-
fileFormatName
-
videoCodecDescription
-
videoCodecName
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-