Compartilhar via


PixelCopy.Result.Bitmap Property

Definition

If the PixelCopy Request was given a destination bitmap with Request.Builder#setDestinationBitmap(Bitmap) then the returned bitmap will be the same as the one given.

public Android.Graphics.Bitmap Bitmap { [Android.Runtime.Register("getBitmap", "()Landroid/graphics/Bitmap;", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getBitmap", "()Landroid/graphics/Bitmap;", "", ApiSince=34)>]
member this.Bitmap : Android.Graphics.Bitmap

Property Value

the Bitmap the copy request was stored in.

Attributes

Remarks

If the PixelCopy Request was given a destination bitmap with Request.Builder#setDestinationBitmap(Bitmap) then the returned bitmap will be the same as the one given. If no destination bitmap was provided, then this will contain the automatically allocated Bitmap to hold the result.

Java documentation for android.view.PixelCopy.Result.getBitmap().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to