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 class QMediaContent
-
Constructor Summary
ConstructorDescriptionQMediaContent
(QUrl contentUrl) QMediaContent
(QMediaContent other) QMediaContent
(QMediaResource contentResource) 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
(QMediaPlaylist playlist, String contentUrl) Overloaded constructor forQMediaContent(io.qt.multimedia.QMediaPlaylist, java.lang.String, boolean)
withtakeOwnership = false
.QMediaContent
(QMediaPlaylist playlist, String contentUrl, boolean takeOwnership) Overloaded constructor forQMediaContent(io.qt.multimedia.QMediaPlaylist, io.qt.core.QUrl, boolean)
.QMediaContent
(QNetworkRequest contentRequest) QMediaContent
(String contentUrl) Overloaded constructor forQMediaContent(io.qt.core.QUrl)
.QMediaContent
(Collection<? extends QMediaResource> resources) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QMediaContent other) final QNetworkRequest
final QMediaResource
final QUrl
clone()
Creates and returns a copy of this object.final boolean
equals
(QMediaContent other) boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QMediaContent)
.final boolean
isNull()
final QMediaPlaylist
playlist()
final QNetworkRequest
request()
final QList<QMediaResource>
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QMediaContent
public QMediaContent() -
QMediaContent
- Parameters:
resources
-
-
QMediaContent
- Parameters:
other
-
-
QMediaContent
- Parameters:
playlist
-contentUrl
-takeOwnership
-
-
QMediaContent
- Parameters:
contentResource
-
-
QMediaContent
- Parameters:
contentRequest
-
-
QMediaContent
- Parameters:
contentUrl
-
-
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
Overloaded constructor for
QMediaContent(io.qt.multimedia.QMediaPlaylist, java.lang.String, boolean)
withtakeOwnership = false
. -
QMediaContent
Overloaded constructor for
QMediaContent(io.qt.multimedia.QMediaPlaylist, io.qt.core.QUrl, boolean)
. -
QMediaContent
Overloaded constructor for
QMediaContent(io.qt.core.QUrl)
.
-
-
Method Details
-
canonicalRequest
- Returns:
-
canonicalResource
- Returns:
-
canonicalUrl
- Returns:
-
isNull
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
playlist
- Returns:
-
request
- Returns:
- Since:
- This function was introduced in Qt 5.14.
-
resources
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QMediaContent)
. -
clone
Creates and returns a copy of this object.
-