Android API that copies a portion or all of a Window, Surface, or SurfaceView to a bitmap.
PixelCopy APIs provide a mechanism to issue pixel copy requests to allow for copy operations from Surface to Bitmap (e.g. capture all or a portion of a Window, SurfaceView, or a Surface to a bitmap). If the source Window's layout contains any SurfaceViews, their content will have to be separately copied.