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
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorsConstructorDescriptionQMediaResource
(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) -
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()
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
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
-
-
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
-
hashCode
Returns the objects's hash code computed byqHash(QMediaResource)
. -
clone
Creates and returns a copy of this object.
-