FileDocCategorySizeDatePackage
OnObbStateChangeListener.javaAPI DocAndroid 5.1 API2887Thu Mar 12 22:22:10 GMT 2015android.os.storage

OnObbStateChangeListener

public abstract class OnObbStateChangeListener extends Object
Used for receiving notifications from {@link StorageManager} about OBB file states.

Fields Summary
public static final int
MOUNTED
The OBB container is now mounted and ready for use. Returned in status messages from calls made via {@link StorageManager}
public static final int
UNMOUNTED
The OBB container is now unmounted and not usable. Returned in status messages from calls made via {@link StorageManager}
public static final int
ERROR_INTERNAL
There was an internal system error encountered while trying to mount the OBB. Returned in status messages from calls made via {@link StorageManager}
public static final int
ERROR_COULD_NOT_MOUNT
The OBB could not be mounted by the system. Returned in status messages from calls made via {@link StorageManager}
public static final int
ERROR_COULD_NOT_UNMOUNT
The OBB could not be unmounted. This most likely indicates that a file is in use on the OBB. Returned in status messages from calls made via {@link StorageManager}
public static final int
ERROR_NOT_MOUNTED
A call was made to unmount the OBB when it was not mounted. Returned in status messages from calls made via {@link StorageManager}
public static final int
ERROR_ALREADY_MOUNTED
The OBB has already been mounted. Returned in status messages from calls made via {@link StorageManager}
public static final int
ERROR_PERMISSION_DENIED
The current application does not have permission to use this OBB. This could be because the OBB indicates it's owned by a different package or some other error. Returned in status messages from calls made via {@link StorageManager}
Constructors Summary
Methods Summary
public voidonObbStateChange(java.lang.String path, int state)
Called when an OBB has changed states.

param
path path to the OBB file the state change has happened on
param
state the current state of the OBB