public interface NetActionRequest
NetActionHandler,
NetActionEvent| Modifier and Type | Method and Description |
|---|---|
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).
|
boolean cancel()
float getProgress()
int getActionStatus()
NetActionEvent for possible return values.int getError()
NetActionEvent.ACTION_FAILED. The error code returned will
be equivalent to the error code returned by
NetActionEvent.getError() for the NetActionEvent associated
with the completion of this action request. If the action is not in error
or has not completed, this method SHALL return -1.Copyright © 2013 CableLabs. All rights reserved.