java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.multimedia.QMediaTimeRange
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QMediaTimeRange extends QtObject implements Cloneable
Represents a set of zero or more disjoint time intervals
Java wrapper for Qt class QMediaTimeRange
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QMediaTimeRange()
QMediaTimeRange(long start, long end)
QMediaTimeRange(QMediaTimeInterval arg__1)
QMediaTimeRange(QMediaTimeRange range)
protected
QMediaTimeRange(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description void
addInterval(long start, long end)
void
addInterval(QMediaTimeInterval interval)
void
addTimeRange(QMediaTimeRange arg__1)
void
clear()
QMediaTimeRange
clone()
boolean
contains(long time)
long
earliestTime()
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()
QList<QMediaTimeInterval>
intervals()
boolean
isContinuous()
boolean
isEmpty()
long
latestTime()
void
removeInterval(long start, long end)
void
removeInterval(QMediaTimeInterval interval)
void
removeTimeRange(QMediaTimeRange arg__1)
String
toString()
-
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 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
-
toString
-
clone
-