android.media.MediaScannerConnection.MediaScannerConnectionClient |
An interface for notifying clients of MediaScannerConnection when a connection to the MediaScanner service has been established and when the scanning of a file has completed.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called to notify the client when a connection to the
MediaScanner service has been established.
| |||||||||||
Called to notify the client when the media scanner has finished
scanning a file.
|
Called to notify the client when a connection to the MediaScanner service has been established.
Called to notify the client when the media scanner has finished scanning a file.
path | the path to the file that has been scanned. |
---|---|
uri | the Uri for the file if the scanning operation succeeded and the file was added to the media database, or null if scanning failed. |