Java android.media MediaScannerConnection fields, constructors, methods, implement or subclass

Example usage for Java android.media MediaScannerConnection fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.media MediaScannerConnection.

The text is from its open source code.

Constructor

Method

booleanisConnected()
Returns whether we are connected to the media scanner service
voidscanFile(Context context, String[] paths, String[] mimeTypes, OnScanCompletedListener callback)
Convenience for constructing a MediaScannerConnection , calling #connect on it, and calling #scanFile with the given path and mimeType when the connection is established.
voidscanFile(String path, String mimeType)
Requests the media scanner to scan a file.