FileDocCategorySizeDatePackage
IMountServiceListener.javaAPI DocAndroid 5.1 API6607Thu Mar 12 22:22:10 GMT 2015android.os.storage

IMountServiceListener

public interface IMountServiceListener implements android.os.IInterface
Callback class for receiving events from MountService.
hide
- Applications should use IStorageEventListener for storage event callbacks.

Fields Summary
Constructors Summary
Methods Summary
public voidonStorageStateChanged(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()

public voidonUsbMassStorageConnectionChanged(boolean connected)
Detection state of USB Mass Storage has changed

param
available true if a UMS host is connected.