How to save SurfaceView to Bitmap on Android in Kotlin

eye catch Android

How to save SurfaceView to Bitmap on Android. There are PixelCopy class on Android SDK. Provides a mechanisms to issue pixel copy requests to allow for copy operations from Surface to Bitmap Quotes : https://developer.android.com/reference/android/view/PixelCopy This class makes it easy to save a… Read moreHow to save SurfaceView to Bitmap on Android in Kotlin