java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.multimedia.QMediaResource
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QMediaResource extends QtObject implements Cloneable
Description of a media resource
Java wrapper for Qt class QMediaResource
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QMediaResource()
QMediaResource(QUrl url)
Overloaded constructor forQMediaResource(io.qt.core.QUrl, java.lang.String)
withmimeType = ""
.QMediaResource(QUrl url, String mimeType)
QMediaResource(QMediaResource other)
QMediaResource(QNetworkRequest request)
Overloaded constructor forQMediaResource(io.qt.network.QNetworkRequest, java.lang.String)
withmimeType = ""
.QMediaResource(QNetworkRequest request, String mimeType)
protected
QMediaResource(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description int
audioBitRate()
String
audioCodec()
int
channelCount()
QMediaResource
clone()
long
dataSize()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
boolean
isNull()
String
language()
String
mimeType()
QNetworkRequest
request()
QSize
resolution()
int
sampleRate()
void
setAudioBitRate(int rate)
void
setAudioCodec(String codec)
void
setChannelCount(int channels)
void
setDataSize(long size)
void
setLanguage(String language)
void
setResolution(int width, int height)
void
setResolution(QSize resolution)
void
setSampleRate(int frequency)
void
setVideoBitRate(int rate)
void
setVideoCodec(String codec)
QUrl
url()
int
videoBitRate()
String
videoCodec()
-
Constructor Details
-
QMediaResource
public QMediaResource() -
QMediaResource
-
QMediaResource
Overloaded constructor for
QMediaResource(io.qt.network.QNetworkRequest, java.lang.String)
withmimeType = ""
. -
QMediaResource
-
QMediaResource
Overloaded constructor for
QMediaResource(io.qt.core.QUrl, java.lang.String)
withmimeType = ""
. -
QMediaResource
-
QMediaResource
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
audioBitRate
-
audioCodec
-
channelCount
-
dataSize
-
isNull
-
language
-
mimeType
-
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 native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-