QMediaTimeRange Class
The QMediaTimeRange class represents a set of zero or more disjoint time intervals. More...
| Header: | #include <QMediaTimeRange> |
| qmake: | QT += multimedia |
Note: All functions in this class are reentrant.
Detailed Description
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 normal.
See also QMediaTimeInterval.