@Implements(android.media.MediaScannerConnection.class) public class ShadowMediaScannerConnection extends Object
MediaScannerConnection
Constructor | Description |
---|---|
ShadowMediaScannerConnection() |
Modifier and Type | Method | Description |
---|---|---|
static Set<String> |
getSavedMimeTypes() |
Return the set of file mimeTypes scanned by scanFile()
|
static Set<String> |
getSavedPaths() |
Return the set of file paths scanned by scanFile()
|
static void |
reset() |
|
protected static void |
scanFile(Context context,
String[] paths,
String[] mimeTypes,
MediaScannerConnection.OnScanCompletedListener callback) |
@Implementation protected static void scanFile(Context context, String[] paths, String[] mimeTypes, MediaScannerConnection.OnScanCompletedListener callback)
@Resetter public static void reset()
public static Set<String> getSavedPaths()