java.lang.Object
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's 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
(QMediaResource contentResource) Deprecated.QMediaContent
(QNetworkRequest contentRequest) QMediaContent
(Collection<? extends QMediaResource> resources) Deprecated.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) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QMediaContent other) final QNetworkRequest
Deprecated.final QMediaResource
Deprecated.final QUrl
Deprecated.Use QMediaContent::request().url()clone()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.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
-
assign
-
playlist
-
request
-
resources
Deprecated. -
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-
request()
instead