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

SnapshotCallback

interface SnapshotCallback

An interface used to notify about the finish after taking a snapshot of a map.

Functions

onError

abstract fun onError(error: Throwable): Unit

Called when an error occurred during the operation.

onSuccess

abstract fun onSuccess(snapshot: Bitmap): Unit

Called when an operation is finished successfully.