The members of Android.Media.MediaScannerConnection are listed below.
See Also: Inherited members from Java.Lang.Object
Constructs a new MediaScannerConnection object. |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
[read-only] | IsConnected | bool. Returns whether we are connected to the media scanner service |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
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. |