|qmake:||QT += ifmedia|
|QIfMediaIndexerControlBackendInterface(QObject *parent = nullptr)|
|virtual void||pause() = 0|
|virtual void||resume() = 0|
The QIfMediaIndexerControlBackendInterface is the interface used by QIfMediaIndexerControl
The interface is discovered by a QIfMediaIndexerControl object, which connects to it and sets it up.
<example of a fully featured backend>
Member Function Documentation
QIfMediaIndexerControlBackendInterface::QIfMediaIndexerControlBackendInterface(QObject *parent = nullptr)
Constructs a backend interface.
The parent is sent to the QObject constructor.
[signal] void QIfMediaIndexerControlBackendInterface::progressChanged(qreal progress)
This signal is emitted when indexing is currently ongoing and the progress of the operation changed. The progress argument passes the current progress between 0 and 1.
[signal] void QIfMediaIndexerControlBackendInterface::stateChanged(QIfMediaIndexerControl::State state)
This signal is emitted whenever the indexing state changed. The state argument holds the new state of the indexer.
Pauses the currently ongoing indexing. If currently no indexing is ongoing this call should not perform any actions.
See also resume().
Resumes the previously paused indexing. If there is nothing to resume this call should not perform any actions.
See also pause().