public static interface MediaScannerConnection.OnScanCompletedListener
android.media.MediaScannerConnection.OnScanCompletedListener |
Known Indirect Subclasses |
用于通知客户端扫描请求的媒体文件结果的界面。
Public methods |
|
---|---|
abstract void |
onScanCompleted(String path, Uri uri) 当媒体扫描器完成扫描文件时被调用以通知客户端。 |
void onScanCompleted (String path, Uri uri)
当媒体扫描器完成扫描文件时被调用以通知客户端。
Parameters | |
---|---|
path |
String : the path to the file that has been scanned. |
uri |
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. |