java.lang.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 class QMediaTimeRange
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
QMediaTimeRange::Interval class represents a time interval with integer precision -
Constructor Summary
ConstructorDescriptionQMediaTimeRange
(long start, long end) QMediaTimeRange
(QMediaTimeRange range) -
Method Summary
Modifier and TypeMethodDescriptionfinal QMediaTimeRange
add
(QMediaTimeRange arg__1) final void
addInterval
(long start, long end) final void
addInterval
(QMediaTimeRange.Interval interval) final void
addTimeRange
(QMediaTimeRange arg__1) final void
assign
(QMediaTimeRange arg__1) final void
assign
(QMediaTimeRange.Interval arg__1) final void
clear()
clone()
Creates and returns a copy of this object.final boolean
contains
(long time) final void
detach()
SeeQMediaTimeRange::
detach() final long
final boolean
equals
(QMediaTimeRange rhs) boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QMediaTimeRange)
.final QList<QMediaTimeRange.Interval>
final boolean
final boolean
isEmpty()
final long
final QMediaTimeRange
minus
(QMediaTimeRange r2) final void
minusAssign
(QMediaTimeRange.Interval arg__1) final QMediaTimeRange
plus
(QMediaTimeRange r2) final void
plusAssign
(QMediaTimeRange.Interval arg__1) final void
removeInterval
(long start, long end) final void
removeInterval
(QMediaTimeRange.Interval interval) final void
removeTimeRange
(QMediaTimeRange arg__1) final QMediaTimeRange
subtract
(QMediaTimeRange arg__1) final void
swap
(QMediaTimeRange other) toString()
Seeoperator<<(QDebug,
QMediaTimeRange) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QMediaTimeRange
public QMediaTimeRange() -
QMediaTimeRange
- Parameters:
range
-
-
QMediaTimeRange
- Parameters:
arg__1
-
-
QMediaTimeRange
public QMediaTimeRange(long start, long end) - Parameters:
start
-end
-
-
-
Method Details
-
addInterval
- Parameters:
interval
-
-
addInterval
- Parameters:
start
-end
-
-
addTimeRange
- Parameters:
arg__1
-
-
clear
-
contains
- Parameters:
time
-- Returns:
-
detach
See
QMediaTimeRange::
detach() -
earliestTime
- Returns:
-
intervals
- Returns:
-
isContinuous
- Returns:
-
isEmpty
- Returns:
-
latestTime
- Returns:
-
plus
- Parameters:
r2
-- Returns:
-
add
- Parameters:
arg__1
-- Returns:
-
plusAssign
- Parameters:
arg__1
-
-
minus
- Parameters:
r2
-- Returns:
-
subtract
- Parameters:
arg__1
-- Returns:
-
minusAssign
- Parameters:
arg__1
-
-
assign
- Parameters:
arg__1
-
-
assign
- Parameters:
arg__1
-
-
equals
- Parameters:
rhs
-- Returns:
-
removeInterval
- Parameters:
interval
-
-
removeInterval
- Parameters:
start
-end
-
-
removeTimeRange
- Parameters:
arg__1
-
-
swap
- Parameters:
other
-
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QMediaTimeRange)
. -
toString
See
operator<<(QDebug,
QMediaTimeRange) -
clone
Creates and returns a copy of this object.
-