java.lang.Object
io.qt.QtObject
io.qt.multimedia.QMediaResource
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Description of a media resource
Java wrapper for Qt class QMediaResource
-
Constructor Summary
ConstructorDescriptionQMediaResource
(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) QMediaResource
(String url) Overloaded constructor forQMediaResource(java.lang.String, java.lang.String)
withmimeType = (String)null
.QMediaResource
(String url, String mimeType) Overloaded constructor forQMediaResource(io.qt.core.QUrl, java.lang.String)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QMediaResource other) final int
final String
final int
clone()
Creates and returns a copy of this object.final long
dataSize()
final boolean
equals
(QMediaResource other) boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QMediaResource)
.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
-
QMediaResource
-
QMediaResource
Overloaded constructor for
QMediaResource(io.qt.network.QNetworkRequest, java.lang.String)
withmimeType = (String)null
. -
QMediaResource
Overloaded constructor for
QMediaResource(io.qt.core.QUrl, java.lang.String)
withmimeType = (String)null
. -
QMediaResource
Overloaded constructor for
QMediaResource(java.lang.String, java.lang.String)
withmimeType = (String)null
. -
QMediaResource
Overloaded constructor for
QMediaResource(io.qt.core.QUrl, java.lang.String)
.
-
-
Method Details
-
audioBitRate
-
audioCodec
-
channelCount
-
dataSize
-
isNull
-
language
-
mimeType
-
assign
-
equals
-
request
-
resolution
-
sampleRate
-
setAudioBitRate
-
setAudioCodec
-
setChannelCount
-
setDataSize
-
setLanguage
-
setResolution
-
setResolution
-
setSampleRate
-
setVideoBitRate
-
setVideoCodec
-
url
-
videoBitRate
-
videoCodec
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QMediaResource)
. -
clone
Creates and returns a copy of this object.
-