public static interface

AmazonMap.CancelableCallback

com.amazon.geo.mapsv2.AmazonMap.CancelableCallback

Class Overview

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.

Summary

Public Methods
abstract void onCancel()
Called when a task is cancelled.
abstract void onFinish()
Called when a task is completed.

Public Methods

public abstract void onCancel ()

Called when a task is cancelled.

public abstract void onFinish ()

Called when a task is completed.