|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRequestManager
IRequestManager defines the HQME request manager interface for HQME applications.
Nested Class Summary | |
---|---|
static class |
IRequestManager.Stub
Local-side IPC implementation stub class. |
Method Summary | |
---|---|
int |
cancelRequest(long requestId)
Cancel a previously submitted QueueRequest in the request queue |
IQueueRequest |
createQueueRequest()
Create a QueueRequest |
IQueueRequest |
createQueueRequestXml(java.lang.String queueRequestXml)
Create a QueueRequest |
int |
getPriority(long requestId)
Retrieve the priority of a previously submitted QueueRequest currently in the request queue. |
int |
getProgress(long requestId)
Retrieve the process (as a percentage) for a QueueRequest in the request queue. |
IQueueRequest |
getRequest(long requestId)
Retrieve a QueueRequest object from the request queue |
long[] |
getRequestIds()
Retrieve an array of RequestIds associated with the currently queued QueueRequests |
long[] |
getRequestIdsState(int state)
Retrieve an array of RequestIds associated with the currently queued QueueRequests |
QueueRequestState |
getState(long requestId)
Retrieve the state of a previously submitted QueueRequest. |
void |
registerCallback(IRequestManagerCallback cb)
Register a client application callback function to get informed with RequestManager status changes. |
int |
requestCount()
Retrieve a count of queued QueueRequests. |
int |
requestCountState(int state)
Retrieve a count of queued QueueRequests. |
int |
resumeRequest(long requestId)
Resume a previously suspended QueueRequest in the request queue |
int |
setPriority(long requestId,
int relativePriority)
Set the priority of a previously submitted QueueRequest currently in the request queue. |
long |
submitRequest(IQueueRequest request)
Submit a QueueRequest to the request queue. |
int |
suspendRequest(long requestId)
Suspend a previously submitted QueueRequest in the request queue |
void |
unregisterCallback(IRequestManagerCallback cb)
Unregister a client application callback function to get informed with RequestManager status changes. |
Method Detail |
---|
IQueueRequest createQueueRequest() throws android.os.RemoteException
android.os.RemoteException
IQueueRequest createQueueRequestXml(java.lang.String queueRequestXml) throws android.os.RemoteException
queueRequestXml
- An XML-format string representing a QueueRequest object and its Properties
android.os.RemoteException
int requestCount() throws android.os.RemoteException
android.os.RemoteException
int requestCountState(int state) throws android.os.RemoteException
state
- Used as a filter.
android.os.RemoteException
long[] getRequestIds() throws android.os.RemoteException
android.os.RemoteException
long[] getRequestIdsState(int state) throws android.os.RemoteException
state
- Used as a filter.
android.os.RemoteException
IQueueRequest getRequest(long requestId) throws android.os.RemoteException
requestId
- Request ID of the requested QueueRequest.
android.os.RemoteException
long submitRequest(IQueueRequest request) throws android.os.RemoteException
request
- QueueRequest to be submitted..
android.os.RemoteException
int cancelRequest(long requestId) throws android.os.RemoteException
requestId
- Request ID of the QueueRequest.
android.os.RemoteException
int suspendRequest(long requestId) throws android.os.RemoteException
requestId
- Request ID of the QueueRequest.
android.os.RemoteException
int resumeRequest(long requestId) throws android.os.RemoteException
requestId
- Request ID of the QueueRequest.
android.os.RemoteException
int getProgress(long requestId) throws android.os.RemoteException
requestId
- Request ID of the QueueRequest.
android.os.RemoteException
QueueRequestState getState(long requestId) throws android.os.RemoteException
requestId
- Request ID of the QueueRequest.
android.os.RemoteException
int getPriority(long requestId) throws android.os.RemoteException
requestId
- Request ID of the QueueRequest.
android.os.RemoteException
int setPriority(long requestId, int relativePriority) throws android.os.RemoteException
requestId
- Request ID of the QueueRequest.relativePriority
- New priority value. [0-100]
android.os.RemoteException
void registerCallback(IRequestManagerCallback cb) throws android.os.RemoteException
cb
- the client application's callback function
Note: not a P2200 API
android.os.RemoteException
void unregisterCallback(IRequestManagerCallback cb) throws android.os.RemoteException
cb
- the client application's callback function
Note: not a P2200 API
android.os.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |