Skip to main content
Version: 11 Nov 2025

AImage

NameSpace: Media

Inherits from:
INullablePointer,
IDisposable

Public Fields​

CropRect​


public ARect CropRect { get; set; }


Format​


public MediaFormat Format { get; set; }


HardwareBuffer​


public AHardwareBuffer HardwareBuffer { get; set; }


Height​


public int Height { get; set; }


NumberOfPlanes​


public int NumberOfPlanes { get; set; }


TimestampInNanoseconds​


public long TimestampInNanoseconds { get; set; }


Width​


public int Width { get; set; }


Public Methods​

void Dispose​

public void Dispose()

unsafe bool TryGetPlaneData​

public unsafe bool TryGetPlaneData(
int planeIdx,
out int dataLength,
out int pixelStride,
out int rowStride,
out byte * data
)

Parameters

TypeNameDescription
intplaneIdx
out intdataLength
out intpixelStride
out introwStride
out byte *data

Public Attributes​

IsNull​


public bool IsNull => value == IntPtr.Zero;