ArImage

public class ArImage

This class exposes ArImage obtained from NDK AImage as android.media.Image interface.

Public Methods

void
close()
Releases the resource associated with the object.
Rect
getCropRect()
Unsupported operation.
int
getFormat()
Returns the format of the image.
int
getHeight()
Returns the height (in pixels) of the image.
Plane[]
getPlanes()
Returns plane(s) of the image.
long
getTimestamp()
Returns the timestamp.
int
getWidth()
Returns the width (in pixels) of the image.
void
setCropRect(Rect cropRect)
Unsupported operation.
void
setTimestamp(long timestamp)
Unsupported operation.

Inherited Methods

Public Methods

public void close ()

Releases the resource associated with the object.

public Rect getCropRect ()

Unsupported operation.

public int getFormat ()

Returns the format of the image.

public int getHeight ()

Returns the height (in pixels) of the image.

public Plane[] getPlanes ()

Returns plane(s) of the image.

public long getTimestamp ()

Returns the timestamp.

public int getWidth ()

Returns the width (in pixels) of the image.

public void setCropRect (Rect cropRect)

Unsupported operation.

Parameters
cropRect

public void setTimestamp (long timestamp)

Unsupported operation.

Parameters
timestamp