QMediaTimeRange

PyQt5.QtMultimedia.QMediaTimeRange

Description

The QMediaTimeRange class represents a set of zero or more disjoint time intervals.

The earliestTime(), latestTime(), intervals() and isEmpty() methods are used to get information about the current time range.

The addInterval(), removeInterval() and clear() methods are used to modify the current time range.

When adding or removing intervals from the time range, existing intervals within the range may be expanded, trimmed, deleted, merged or split to ensure that all intervals within the time range remain distinct and disjoint. As a consequence, all intervals added or removed from a time range must be isNormal().

See also

QMediaTimeInterval.

Methods

__init__()

TODO


__init__(QMediaTimeInterval)

TODO


__init__(QMediaTimeRange)

TODO


__init__(int, int)

TODO


__add__(QMediaTimeRange) → QMediaTimeRange

TODO


addInterval(QMediaTimeInterval)

TODO


addInterval(int, int)

TODO


addTimeRange(QMediaTimeRange)

Adds each of the intervals in range to this time range.

Equivalent to calling addInterval() for each interval in range.


clear()

TODO


contains(int) → bool

TODO


earliestTime() → int

TODO


__eq__(QMediaTimeRange) → bool

TODO


__iadd__(QMediaTimeRange) → QMediaTimeRange

TODO


__iadd__(QMediaTimeInterval) → QMediaTimeRange

TODO


intervals() → List[QMediaTimeInterval]

TODO


isContinuous() → bool

TODO


isEmpty() → bool

TODO


__isub__(QMediaTimeRange) → QMediaTimeRange

TODO


__isub__(QMediaTimeInterval) → QMediaTimeRange

TODO


latestTime() → int

TODO


__ne__(QMediaTimeRange) → bool

TODO


removeInterval(QMediaTimeInterval)

TODO


removeInterval(int, int)

TODO


removeTimeRange(QMediaTimeRange)

Removes each of the intervals in range from this time range.

Equivalent to calling removeInterval() for each interval in range.


__sub__(QMediaTimeRange) → QMediaTimeRange

TODO