|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NetActionRequest
All asynchronous actions in the Home networking API return an NetActionRequest. The NetActionRequest can be used a) to cancel any pending action or b) to identify which Action got completed.
NetActionHandler
,
NetActionEvent
Method Summary | |
---|---|
boolean |
cancel()
Cancels the Action associated with this ActionRequest. |
int |
getActionStatus()
Gets the current status of the requested action. |
int |
getError()
Gets the error value when getActionStatus returns NetActionEvent.ACTION_FAILED . |
float |
getProgress()
Gets the progress of the action in percent (0.0 - 1.0). |
Method Detail |
---|
boolean cancel()
float getProgress()
int getActionStatus()
NetActionEvent
for possible return values.int getError()
NetActionEvent.ACTION_FAILED
. If the action is not in error this
method SHALL return -1.
NetActionEvent
for possible return values.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |