GoogleMap.SnapshotReadyCallback

  • GoogleMap.SnapshotReadyCallback is a callback interface that notifies when a map snapshot is ready.

  • The interface contains a single method, onSnapshotReady, which is invoked on the Android UI thread when the snapshot is taken.

  • The onSnapshotReady method receives a Bitmap object containing the map's current rendering, or null if the snapshot failed.

public static interface GoogleMap.SnapshotReadyCallback

Callback interface to notify when the snapshot has been taken.

Public Method Summary

abstract void
onSnapshotReady(Bitmap snapshot)
Invoked when the snapshot has been taken.

Public Methods

public abstract void onSnapshotReady (Bitmap snapshot)

Invoked when the snapshot has been taken.

This is called on the Android UI thread.

Parameters
snapshot A bitmap containing the map as it is currently rendered, or null if the snapshot could not be taken.