captureSnapshotAsBitmap

abstract suspend fun captureSnapshotAsBitmap(saveOnDisk: Boolean = false, outputPath: String = buildDefaultOutputPath()): Bitmap?