GoogleMap.SnapshotReadyCallback

  • GoogleMap.SnapshotReadyCallback is an interface used to receive a snapshot of the map.

  • The onSnapshotReady method is called when the snapshot is ready, providing a Bitmap of the map or null if it failed.

  • This callback happens on the Android UI thread.

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.