Added in API level 1

MediaScannerConnectionClient


interface MediaScannerConnectionClient : MediaScannerConnection.OnScanCompletedListener

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 Unit

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

Inherited functions
Unit onScanCompleted(path: String!, uri: Uri!)

Called to notify the client when the media scanner has finished scanning a file.

Public methods

onMediaScannerConnected

Added in API level 1
abstract fun onMediaScannerConnected(): Unit

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