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!