Added in API level 34
Summary:
Methods
| Inherited Methods
PixelCopy.Request.Builder
public
static
final
class
PixelCopy.Request.Builder
extends Object
| java.lang.Object | |
| ↳ | android.view.PixelCopy.Request.Builder |
A builder to create the complete PixelCopy request, which is then executed by calling
request(Request,Executor,Consumer) with the built request returned from
build()
Summary
Public methods | |
|---|---|
PixelCopy.Request
|
build()
|
static
PixelCopy.Request.Builder
|
ofSurface(SurfaceView source)
Creates a PixelCopy Builder for the |
static
PixelCopy.Request.Builder
|
ofSurface(Surface source)
Creates a PixelCopy Builder for the given |
static
PixelCopy.Request.Builder
|
ofWindow(Window source)
Creates a PixelCopy Builder for the given |
static
PixelCopy.Request.Builder
|
ofWindow(View source)
Creates a PixelCopy Builder for the |
PixelCopy.Request.Builder
|
setDestinationBitmap(Bitmap destination)
Specifies the output bitmap in which to store the result. |
PixelCopy.Request.Builder
|
setSourceRect(Rect srcRect)
Sets the region of the source to copy from. |
Inherited methods | |
|---|---|