java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.multimedia.QMediaContent
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Access to the resource relating to a media content
Java wrapper for Qt class QMediaContent
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQMediaContent
(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
Constructor for internal use only.QMediaContent
(Collection<QMediaResource> resources) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionfinal QNetworkRequest
Deprecated.final QMediaResource
Deprecated.final QUrl
Deprecated.Use QMediaContent::request().url()clone()
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
final boolean
isNull()
final QMediaPlaylist
playlist()
final QNetworkRequest
request()
final QList<QMediaResource>
Deprecated.Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
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
-
request()
instead