public abstract class OnObbStateChangeListener extends Object
StorageManager
about OBB file
states.Modifier and Type | Field and Description |
---|---|
static int |
ERROR_ALREADY_MOUNTED
The OBB has already been mounted.
|
static int |
ERROR_COULD_NOT_MOUNT
The OBB could not be mounted by the system.
|
static int |
ERROR_COULD_NOT_UNMOUNT
The OBB could not be unmounted.
|
static int |
ERROR_INTERNAL
There was an internal system error encountered while trying to mount the
OBB.
|
static int |
ERROR_NOT_MOUNTED
A call was made to unmount the OBB when it was not mounted.
|
static int |
ERROR_PERMISSION_DENIED
The current application does not have permission to use this OBB.
|
static int |
MOUNTED
The OBB container is now mounted and ready for use.
|
static int |
UNMOUNTED
The OBB container is now unmounted and not usable.
|
Constructor and Description |
---|
OnObbStateChangeListener() |
public static final int MOUNTED
StorageManager
public static final int UNMOUNTED
StorageManager
public static final int ERROR_INTERNAL
StorageManager
public static final int ERROR_COULD_NOT_MOUNT
StorageManager
public static final int ERROR_COULD_NOT_UNMOUNT
StorageManager
public static final int ERROR_NOT_MOUNTED
StorageManager
public static final int ERROR_ALREADY_MOUNTED
StorageManager
public static final int ERROR_PERMISSION_DENIED
StorageManager
public void onObbStateChange(String path, int state)
path
- path to the OBB file the state change has happened onstate
- the current state of the OBB