Image.HardwareBuffer Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the android.hardware.HardwareBuffer HardwareBuffer
handle of the input image
intended for GPU and/or hardware access.
public virtual Android.Hardware.HardwareBuffer? HardwareBuffer { [Android.Runtime.Register("getHardwareBuffer", "()Landroid/hardware/HardwareBuffer;", "GetGetHardwareBufferHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getHardwareBuffer", "()Landroid/hardware/HardwareBuffer;", "GetGetHardwareBufferHandler", ApiSince=28)>]
member this.HardwareBuffer : Android.Hardware.HardwareBuffer
Property Value
the HardwareBuffer associated with this Image or null if this Image doesn't support
this feature. (Unsupported use cases include Image instances obtained through
android.media.MediaCodec MediaCodec
, and on versions prior to Android P,
android.media.ImageWriter ImageWriter
).
- Attributes
Remarks
Get the android.hardware.HardwareBuffer HardwareBuffer
handle of the input image intended for GPU and/or hardware access.
The returned android.hardware.HardwareBuffer HardwareBuffer
shall not be used after Image#close Image.close()
has been called.
Java documentation for android.media.Image.getHardwareBuffer()
.
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.