snapshot

Called to capture a snapshot synchronously.

Return

the snapshot

abstract fun snapshot(): Bitmap?

Called to capture a snapshot asynchronously.

Parameters

listener

The listener to be invoked when snapshot finishes

abstract fun snapshot(listener: MapView.OnSnapshotReady)