public class Operation extends NativeObject
Modifier and Type | Field and Description |
---|---|
protected OperationCallback |
callback |
Constructor and Description |
---|
Operation() |
Modifier and Type | Method and Description |
---|---|
protected void |
callCallback() |
void |
cancel()
Cancel the operation.
|
boolean |
isCancelled()
Returns whether the operation has been cancelled.
|
void |
start(OperationCallback aCallback)
Starts the operation.
|
clone, finalize, initWithNative, readObject, toString, writeObject
protected OperationCallback callback
public void cancel()
public boolean isCancelled()
public void start(OperationCallback aCallback)
OperationCallback.succeeded()
protected void callCallback()