FileDocCategorySizeDatePackage
MountServiceListener.javaAPI DocAndroid 5.1 API1448Thu Mar 12 22:22:10 GMT 2015android.os.storage

MountServiceListener

public abstract class MountServiceListener extends Object
Callback class for receiving progress reports during a restore operation. These methods will all be called on your application's main thread.
hide

Fields Summary
Constructors Summary
Methods Summary
voidonStorageStateChange(java.lang.String path, java.lang.String oldState, java.lang.String newState)
Storage state has changed.

param
path The volume mount path.
param
oldState The old state of the volume.
param
newState The new state of the volume.
Note:
State is one of the values returned by Environment.getExternalStorageState()

    
voidonUsbMassStorageConnectionChanged(boolean connected)
USB Mass storage connection state has changed.

param
connected True if UMS is connected.