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
- Parameters:
other
-
-
QMediaResource
- Parameters:
request
-mimeType
-
-
QMediaResource
- Parameters:
url
-mimeType
-
-
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
- Returns:
-
audioCodec
- Returns:
-
channelCount
- Returns:
-
dataSize
- Returns:
-
isNull
- Returns:
-
language
- Returns:
-
mimeType
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
request
- Returns:
-
resolution
- Returns:
-
sampleRate
- Returns:
-
setAudioBitRate
- Parameters:
rate
-
-
setAudioCodec
- Parameters:
codec
-
-
setChannelCount
- Parameters:
channels
-
-
setDataSize
- Parameters:
size
-
-
setLanguage
- Parameters:
language
-
-
setResolution
- Parameters:
resolution
-
-
setResolution
- Parameters:
width
-height
-
-
setSampleRate
- Parameters:
frequency
-
-
setVideoBitRate
- Parameters:
rate
-
-
setVideoCodec
- Parameters:
codec
-
-
url
- Returns:
-
videoBitRate
- Returns:
-
videoCodec
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QMediaResource)
. -
clone
Creates and returns a copy of this object.
-