Język

MediaCodec.OutputFrame.HardwareBuffer Property

Definition

Returns the output hardware graphic buffer, or null if this frame is empty.

public Android.Hardware.HardwareBuffer? HardwareBuffer { [Android.Runtime.Register("getHardwareBuffer", "()Landroid/hardware/HardwareBuffer;", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getHardwareBuffer", "()Landroid/hardware/HardwareBuffer;", "", ApiSince=30)>]
member this.HardwareBuffer : Android.Hardware.HardwareBuffer

Property Value

The frame's graphic buffer, or null for an empty frame. Access throws when the frame instead contains a linear block.

Attributes

Remarks

Returns the output hardware graphic buffer, or null if this frame is empty.

Java documentation for android.media.MediaCodec.OutputFrame.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.

Applies to