Android.Media.MediaScannerConnection: Method Members

The methods of Android.Media.MediaScannerConnection are listed below. For a list of all members, see the MediaScannerConnection Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

Connect()
Initiates a connection to the media scanner service.
Disconnect()
Releases the connection to the media scanner service.
OnServiceConnected(Android.Content.ComponentName, Android.OS.IBinder)
Part of the ServiceConnection interface.
OnServiceDisconnected(Android.Content.ComponentName)
Part of the ServiceConnection interface.
ScanFile(string, string)
Requests the media scanner to scan a file.
static
ScanFile(Android.Content.Context, string[], string[], MediaScannerConnection.IOnScanCompletedListener)
Convenience for constructing a Android.Media.MediaScannerConnection, calling MediaScannerConnection.Connect on it, and calling MediaScannerConnection.ScanFile(Android.Content.Context, System.String[], System.String[], System.String[]) with the given path and mimeType when the connection is established.