Android Guides | Samples

Android.Media.MediaScannerConnection.IMediaScannerConnectionClient

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.

See Also: MediaScannerConnection+IMediaScannerConnectionClient

Syntax

[Android.Runtime.Register("android/media/MediaScannerConnection$MediaScannerConnectionClient", "", "Android.Media.MediaScannerConnection/IMediaScannerConnectionClientInvoker")]
public interface MediaScannerConnection.IMediaScannerConnectionClient : MediaScannerConnection+IOnScanCompletedListener, IDisposable

Remarks

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.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.Media.MediaScannerConnection.IMediaScannerConnectionClient are listed below.

Public Methods

OnMediaScannerConnected()
Called to notify the client when a connection to the MediaScanner service has been established.
OnScanCompleted(String, Uri)
Called to notify the client when the media scanner has finished scanning a file.