java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.multimedia.QMediaContent
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QMediaContent extends QtObject implements Cloneable
Access to the resource relating to a media content
Java wrapper for Qt class QMediaContent
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QMediaContent()
QMediaContent(QUrl contentUrl)
QMediaContent(QMediaContent other)
QMediaContent(QMediaPlaylist playlist)
Overloaded constructor forQMediaContent(io.qt.multimedia.QMediaPlaylist, io.qt.core.QUrl, boolean)
QMediaContent(QMediaPlaylist playlist, QUrl contentUrl)
Overloaded constructor forQMediaContent(io.qt.multimedia.QMediaPlaylist, io.qt.core.QUrl, boolean)
withtakeOwnership = false
.QMediaContent(QMediaPlaylist playlist, QUrl contentUrl, boolean takeOwnership)
QMediaContent(QMediaResource contentResource)
Deprecated.QMediaContent(QNetworkRequest contentRequest)
protected
QMediaContent(QtObject.QPrivateConstructor p)
Constructor for internal use only.QMediaContent(Collection<QMediaResource> resources)
Deprecated. -
Method Summary
Modifier and Type Method Description QNetworkRequest
canonicalRequest()
Deprecated.Userequest()
insteadQMediaResource
canonicalResource()
Deprecated.QUrl
canonicalUrl()
Deprecated.Use QMediaContent::request().url()QMediaContent
clone()
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()
QMediaPlaylist
playlist()
QNetworkRequest
request()
QList<QMediaResource>
resources()
Deprecated.
-
Constructor Details
-
QMediaContent
public QMediaContent() -
QMediaContent
Overloaded constructor for
QMediaContent(io.qt.multimedia.QMediaPlaylist, io.qt.core.QUrl, boolean)
withtakeOwnership = false
. -
QMediaContent
Overloaded constructor for
QMediaContent(io.qt.multimedia.QMediaPlaylist, io.qt.core.QUrl, boolean)
with:
contentUrl = new io.qt.core.QUrl()
takeOwnership = false
-
QMediaContent
-
QMediaContent
Deprecated. -
QMediaContent
-
QMediaContent
Deprecated. -
QMediaContent
-
QMediaContent
-
QMediaContent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
canonicalRequest
Deprecated.Userequest()
instead -
canonicalResource
Deprecated. -
canonicalUrl
Deprecated.Use QMediaContent::request().url() -
isNull
-
playlist
-
request
-
resources
Deprecated. -
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
-