public static interface MediaScannerConnection.MediaScannerConnectionClient extends MediaScannerConnection.OnScanCompletedListener
Modifier and Type | Method and Description |
---|---|
void |
onMediaScannerConnected()
Called to notify the client when a connection to the
MediaScanner service has been established.
|
void |
onScanCompleted(String path,
Uri uri)
Called to notify the client when the media scanner has finished
scanning a file.
|
void onMediaScannerConnected()
void onScanCompleted(String path, Uri uri)
onScanCompleted
in interface MediaScannerConnection.OnScanCompletedListener
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.