screenShot

open fun screenShot(@NonNull() activity: Activity): Bitmap

Return the bitmap of screen.

Return

the bitmap of screen

Parameters

activity

The activity.

open fun screenShot(@NonNull() activity: Activity, isDeleteStatusBar: Boolean): Bitmap

Return the bitmap of screen.

Return

the bitmap of screen

Parameters

activity

The activity.

isDeleteStatusBar

True to delete status bar, false otherwise.