screenShot

fun Activity.screenShot(removeStatusBar: Boolean = false): Bitmap?
@RequiresApi(value = 26)
fun Activity.screenShot(removeStatusBar: Boolean = false, listener: (Int, Bitmap) -> Unit)