onSnapshotReady

Will be called when snapshot Bitmap is ready.

Parameters

bitmap

Returns valid Bitmap if snapshot was successful and null otherwise.

abstract fun onSnapshotReady(bitmap: Bitmap?)