java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.multimedia.QMediaTimeRange
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents a set of zero or more disjoint time intervals
Java wrapper for Qt's class QMediaTimeRange
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQMediaTimeRange
(long start, long end) QMediaTimeRange
(QMediaTimeInterval arg__1) QMediaTimeRange
(QMediaTimeRange range) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addInterval
(long start, long end) final void
addInterval
(QMediaTimeInterval interval) final void
addTimeRange
(QMediaTimeRange arg__1) final void
clear()
clone()
final boolean
contains
(long time) final long
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 QList<QMediaTimeInterval>
final boolean
final boolean
isEmpty()
final long
final void
removeInterval
(long start, long end) final void
removeInterval
(QMediaTimeInterval interval) final void
removeTimeRange
(QMediaTimeRange arg__1) toString()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QMediaTimeRange
public QMediaTimeRange() -
QMediaTimeRange
-
QMediaTimeRange
-
QMediaTimeRange
public QMediaTimeRange(long start, long end) -
QMediaTimeRange
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addInterval
-
addInterval
-
addTimeRange
-
clear
-
contains
-
earliestTime
-
intervals
-
isContinuous
-
isEmpty
-
latestTime
-
removeInterval
-
removeInterval
-
removeTimeRange
-
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
-
toString
-
clone
-