public interface IMountServiceListener extends IInterface
Modifier and Type | Interface and Description |
---|---|
static class |
IMountServiceListener.Stub
Local-side IPC implementation stub class.
|
Modifier and Type | Method and Description |
---|---|
void |
onDiskDestroyed(DiskInfo disk) |
void |
onDiskScanned(DiskInfo disk,
int volumeCount) |
void |
onStorageStateChanged(String path,
String oldState,
String newState)
Storage state has changed.
|
void |
onUsbMassStorageConnectionChanged(boolean connected)
Detection state of USB Mass Storage has changed
|
void |
onVolumeForgotten(String fsUuid) |
void |
onVolumeRecordChanged(VolumeRecord rec) |
void |
onVolumeStateChanged(VolumeInfo vol,
int oldState,
int newState) |
asBinder
void onUsbMassStorageConnectionChanged(boolean connected) throws RemoteException
available
- true if a UMS host is connected.RemoteException
void onStorageStateChanged(String path, String oldState, String newState) throws RemoteException
path
- The volume mount path.oldState
- The old state of the volume.newState
- The new state of the volume. Note: State is one of the
values returned by Environment.getExternalStorageState()RemoteException
void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) throws RemoteException
RemoteException
void onVolumeRecordChanged(VolumeRecord rec) throws RemoteException
RemoteException
void onVolumeForgotten(String fsUuid) throws RemoteException
RemoteException
void onDiskScanned(DiskInfo disk, int volumeCount) throws RemoteException
RemoteException
void onDiskDestroyed(DiskInfo disk) throws RemoteException
RemoteException