Table of Contents

Class ImageWriter

Namespace
Android.Media
Assembly
MASES.Netdroid.dll
public class ImageWriter : AutoCloseable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IAutoCloseable
Inheritance
ImageWriter
Implements
Extension Methods

Constructors

ImageWriter(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public ImageWriter(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Close()

public void Close()

DequeueInputImage()

public Image DequeueInputImage()

Returns

Image

Image

GetDataSpace()

public int GetDataSpace()

Returns

int

int

GetFormat()

public int GetFormat()

Returns

int

int

GetHardwareBufferFormat()

public int GetHardwareBufferFormat()

Returns

int

int

GetHeight()

public int GetHeight()

Returns

int

int

GetMaxImages()

public int GetMaxImages()

Returns

int

int

GetUsage()

public long GetUsage()

Returns

long

long

GetWidth()

public int GetWidth()

Returns

int

int

NewInstance(Surface, int)

public static ImageWriter NewInstance(Surface arg0, int arg1)

Parameters

arg0 Surface

Surface

arg1 int

int

Returns

ImageWriter

ImageWriter

NewInstance(Surface, int, int)

public static ImageWriter NewInstance(Surface arg0, int arg1, int arg2)

Parameters

arg0 Surface

Surface

arg1 int

int

arg2 int

int

Returns

ImageWriter

ImageWriter

QueueInputImage(Image)

public void QueueInputImage(Image arg0)

Parameters

arg0 Image

Image

SetOnImageReleasedListener(OnImageReleasedListener, Handler)

public void SetOnImageReleasedListener(ImageWriter.OnImageReleasedListener arg0, Handler arg1)

Parameters

arg0 ImageWriter.OnImageReleasedListener

ImageWriter.OnImageReleasedListener

arg1 Handler

Handler