public class StorageManagerBaseTest.ObbListener extends OnObbStateChangeListener
ERROR_ALREADY_MOUNTED, ERROR_COULD_NOT_MOUNT, ERROR_COULD_NOT_UNMOUNT, ERROR_INTERNAL, ERROR_NOT_MOUNTED, ERROR_PERMISSION_DENIED, MOUNTED, UNMOUNTED
Constructor and Description |
---|
StorageManagerBaseTest.ObbListener() |
Modifier and Type | Method and Description |
---|---|
boolean |
isDone()
Tells whether we are done or not (system told us the OBB has changed state)
|
String |
officialPath()
The normalized, official path to the OBB file (according to the system)
|
void |
onObbStateChange(String path,
int state)
Called when an OBB has changed states.
|
int |
state()
The last state of the OBB, according to the system
|
public void onObbStateChange(String path, int state)
onObbStateChange
in class OnObbStateChangeListener
path
- path to the OBB file the state change has happened onstate
- the current state of the OBBpublic boolean isDone()
public int state()
String
representation of the state of the OBB