Skip to main content
Version: 12 Dec 2024

NativeImage

NameSpace: Android

Inherits from:
IDisposable

Public Fields

Height


public int Height { get; set; }


NumberOfPlanes


public int NumberOfPlanes { get; set; }


Timestamp


public long Timestamp { get; set; }


Width


public int Width { get; set; }


Public Methods

void Dispose

public void Dispose()

JobHandle Dispose

public JobHandle Dispose(
JobHandle depends
)

Parameters

TypeNameDescription
JobHandledepends

bool TryGetData

public bool TryGetData(
out NativePlane outData,
out ImageDimensions outDim
)

Parameters

TypeNameDescription
out NativePlaneoutData
out ImageDimensionsoutDim

bool TryGetYUVData

public bool TryGetYUVData(
out NativeYUVPlanes outYuvPlanes
)

Parameters

TypeNameDescription
out NativeYUVPlanesoutYuvPlanes

Public Attributes

Dimensions


public ImageDimensions Dimensions => new ImageDimensions(Width, Height);


IsCreated


public bool IsCreated => image.IsCreated;


IsMultiplanar


public bool IsMultiplanar => image.IsMultiPlanar;