Most visited

Recently visited

Added in API level 8

MediaScannerConnection.OnScanCompletedListener

public static interface MediaScannerConnection.OnScanCompletedListener

android.media.MediaScannerConnection.OnScanCompletedListener
Known Indirect Subclasses


用于通知客户端扫描请求的媒体文件结果的界面。

摘要(Summary)

公共方法(Public methods)

abstract void onScanCompleted(String path, Uri uri)

当媒体扫描器完成扫描文件时被调用以通知客户端。

公共方法(Public methods)

onScanCompleted

Added in API level 8
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.

Hooray!