com.amazon.geo.mapsv2.AmazonMap.SnapshotReadyCallback |
Interface for receiving callbacks from the snapshot()
methods.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Called when the snapshot of the map created using
snapshot(SnapshotReadyCallback) or
snapshot(SnapshotReadyCallback, Bitmap)
is available. |
Called when the snapshot of the map created using
snapshot(SnapshotReadyCallback)
or
snapshot(SnapshotReadyCallback, Bitmap)
is available.
Note: When this callback is invoked from a call to
snapshot(SnapshotReadyCallback, Bitmap)
,
the Bitmap
passed to the snapshot()
method and
the Bitmap
available as a parameter on the onSnapshotReady()
method are identical if the passed-in Bitmap
has the same dimensions as the map, and the snapshot is taken
successfully.
If the passed-in Bitmap
does not have the same dimensions
as the map, it is not used and the objects are not identical.
snapshot | The Bitmap containing the snapshot of the map.
Will be null if the snapshot failed.
|
---|