|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStorageManager
IStorageManager defines the HQME Virtual Storage Device(VSD) plugin manager interfaces. IStorageManager provides an abstract interface for an application to query and determine the number/attributes of VSDs that are available for the client.
Nested Class Summary | |
---|---|
static class |
IStorageManager.Stub
Local-side IPC implementation stub class. |
Method Summary | |
---|---|
long[] |
getFunctionGroups(int storageId)
Retrieve function groups for a registered VSD |
IVSD |
getStorage(int storageId)
Retrieve an instance of a client's VSD with the matching storageId |
int[] |
getStorageIds(long[] functiongroups)
Provide a list of VSD storageIds that are ready and available on the client. |
void |
registerCallback(IStorageManagerCallback cb)
Register a client application callback function to get informed with VSDs' status changes. |
int |
registerPlugin(IVSD pluginProxy)
Interface to let a VSD plugin register itself with IStorageManager (aka the plugin manager). |
void |
unregisterCallback(IStorageManagerCallback cb)
Unregister a client application callback function. |
void |
unregisterPlugin(IVSD pluginProxy)
Interface to let a VSD plugin unregister itself with IStorageManager (aka the plugin manager). |
void |
updateStatus(int eventCode,
int storageID)
Interface to let a VSD plugin inform IStorageManager its status' change. |
int |
VSDCount()
Provides a count of the number of ready and available VSDs on the client. |
Method Detail |
---|
int registerPlugin(IVSD pluginProxy) throws android.os.RemoteException
pluginProxy
- the instance of the VSD plugin.
android.os.RemoteException
void unregisterPlugin(IVSD pluginProxy) throws android.os.RemoteException
pluginProxy
- the instance of the VSD plugin.
Note: not a P2200 API
android.os.RemoteException
void updateStatus(int eventCode, int storageID) throws android.os.RemoteException
eventCode
- enumeration of the event code.storageId
- indicates the storage the event sent from.
Note: not a P2200 API
android.os.RemoteException
void registerCallback(IStorageManagerCallback cb) throws android.os.RemoteException
cb
- the client application's callback function
Note: not a P2200 API
android.os.RemoteException
void unregisterCallback(IStorageManagerCallback cb) throws android.os.RemoteException
cb
- the client application's callback function
Note: not a P2200 API
android.os.RemoteException
int VSDCount() throws android.os.RemoteException
android.os.RemoteException
int[] getStorageIds(long[] functiongroups) throws android.os.RemoteException
functiongroups
- Filter for desired VSDs. If not null, this optional argument is
an array of long values identifying one or more capabilities supported by the VSD.
android.os.RemoteException
IVSD getStorage(int storageId) throws android.os.RemoteException
storageId
-
android.os.RemoteException
long[] getFunctionGroups(int storageId) throws android.os.RemoteException
storageId
-
android.os.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |