java.lang.Object
io.qt.QtObject
io.qt.multimedia.QMediaResource
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Description of a media resource
Java wrapper for Qt's class QMediaResource
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQMediaResource
(QUrl url) Overloaded constructor forQMediaResource(io.qt.core.QUrl, java.lang.String)
withmimeType = (String)null
.QMediaResource
(QUrl url, String mimeType) QMediaResource
(QMediaResource other) QMediaResource
(QNetworkRequest request) Overloaded constructor forQMediaResource(io.qt.network.QNetworkRequest, java.lang.String)
withmimeType = (String)null
.QMediaResource
(QNetworkRequest request, String mimeType) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QMediaResource other) final int
final String
final int
clone()
final long
dataSize()
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.int
hashCode()
final boolean
isNull()
final String
language()
final String
mimeType()
final QNetworkRequest
request()
final QSize
final int
final void
setAudioBitRate
(int rate) final void
setAudioCodec
(String codec) final void
setChannelCount
(int channels) final void
setDataSize
(long size) final void
setLanguage
(String language) final void
setResolution
(int width, int height) final void
setResolution
(QSize resolution) final void
setSampleRate
(int frequency) final void
setVideoBitRate
(int rate) final void
setVideoCodec
(String codec) final QUrl
url()
final int
final String
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QMediaResource
public QMediaResource() -
QMediaResource
-
QMediaResource
Overloaded constructor for
QMediaResource(io.qt.network.QNetworkRequest, java.lang.String)
withmimeType = (String)null
. -
QMediaResource
-
QMediaResource
Overloaded constructor for
QMediaResource(io.qt.core.QUrl, java.lang.String)
withmimeType = (String)null
. -
QMediaResource
-
QMediaResource
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
audioBitRate
-
audioCodec
-
channelCount
-
dataSize
-
isNull
-
language
-
mimeType
-
assign
-
request
-
resolution
-
sampleRate
-
setAudioBitRate
-
setAudioCodec
-
setChannelCount
-
setDataSize
-
setLanguage
-
setResolution
-
setResolution
-
setSampleRate
-
setVideoBitRate
-
setVideoCodec
-
url
-
videoBitRate
-
videoCodec
-
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
-