public static interface MediaScannerConnection.OnScanCompletedListener
| android.media.MediaScannerConnection.OnScanCompletedListener |
| |
用于通知客户端扫描请求的媒体文件结果的界面。
公共方法(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. |