Android
android.media
public static interface

android.media.MediaScannerConnection.MediaScannerConnectionClient

android.media.MediaScannerConnection.MediaScannerConnectionClient

An interface for notifying clients of MediaScannerConnection when a connection to the MediaScanner service has been established and when the scanning of a file has completed.

Summary

Public Methods

          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.

Details

Public Methods

public void onMediaScannerConnected()

Called to notify the client when a connection to the MediaScanner service has been established.

public void onScanCompleted(String path, Uri uri)

Called to notify the client when the media scanner has finished scanning a file.

Parameters

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.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56