Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Methods](https://developer.android.com/reference/android/media/MediaScannerConnection.MediaScannerConnectionClient#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/media/MediaScannerConnection.MediaScannerConnectionClient#inhmethods)

# MediaScannerConnection.MediaScannerConnectionClient

*** ** * ** ***


`
public
static


interface
MediaScannerConnection.MediaScannerConnectionClient
`


`


implements

https://developer.android.com/reference/android/media/MediaScannerConnection.OnScanCompletedListener


`

|---|
| android.media.MediaScannerConnection.MediaScannerConnectionClient |

<br />

*** ** * ** ***

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 ||
|---|---|
| ` abstract void` | ` https://developer.android.com/reference/android/media/MediaScannerConnection.MediaScannerConnectionClient#onMediaScannerConnected()() ` Called to notify the client when a connection to the MediaScanner service has been established. |

| ### Inherited methods |
|---|---|
| From interface ` https://developer.android.com/reference/android/media/MediaScannerConnection.OnScanCompletedListener ` |---|---| | ` abstract void` | ` https://developer.android.com/reference/android/media/MediaScannerConnection.OnScanCompletedListener#onScanCompleted(java.lang.String,%20android.net.Uri)(https://developer.android.com/reference/java/lang/String path, https://developer.android.com/reference/android/net/Uri uri) ` Called to notify the client when the media scanner has finished scanning a file. | ||

## Public methods

### onMediaScannerConnected

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public abstract void onMediaScannerConnected ()
```

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

<br />