public interface FileSystemListener
FileConnection
Modifier and Type | Field and Description |
---|---|
static int |
ROOT_ADDED
Constant indicating that a file system root has been added to the device.
|
static int |
ROOT_REMOVED
Constant indicating that a file system root has been removed from the
device.
|
Modifier and Type | Method and Description |
---|---|
void |
rootChanged(int state,
String rootName)
This method is invoked when a root on the device has changed state.
|
static final int ROOT_ADDED
static final int ROOT_REMOVED
void rootChanged(int state, String rootName)
state
- int representing the state change that has happened to
the root.rootName
- the String name of the root, following the root naming
conventions detailed in FileConnection.IllegalArgumentException
- if state
has a negative
value or is not one of the legal acceptable constants.NullPointerException
- if rootName
is
null
.FileConnection