sdk-maps / com.tomtom.online.sdk.map.snapshot / Snapshotter

Snapshotter

interface Snapshotter

An interface that will be used to take a snapshot of the map.

By default a snapshot is supported for Android SDK 24 or above. To change the implementation of Snapshotter call MapView.setSnapshotter or MapFragment.setSnapshotter.

See Also

MapView.setSnapshotter

MapFragment.setSnapshotter

Functions

takeSnapshot

abstract fun takeSnapshot(callback: SnapshotCallback): Unit

Take a snapshot of the Map. The result will be delivered by SnapshotCallback.