Trigger an Android media scan

Hi,
I am currently developing an QT/QML android app in which I intend to save images and videos. But the problem with Android is that if the media scanner is not triggered I don't see them and it takes time.
So I would like to know if there is a way to trigger an Android media scan in qt.