Android.Media.MediaScannerConnection Members

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

See Also: Inherited members from Java.Lang.Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
IsConnectedbool. Returns whether we are connected to the media scanner service

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

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.