com.amazon.geo.mapsv2.AmazonMap.CancelableCallback |
Interface for receiving notifications when a task is cancelled or completed.
For instance, you can pass an object implementing this interface to the
animateCamera(CameraUpdate, CancelableCallback)
method.
When the camera animation completes, onFinish()
is called.
If the animation is stopped before it completes, onCancel()
is
called.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when a task is cancelled.
| |||||||||||
Called when a task is completed.
|
Called when a task is cancelled.
Called when a task is completed.