Android.Graphics.SurfaceTexture Members

The members of Android.Graphics.SurfaceTexture are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Construct a new SurfaceTexture to stream images to a given OpenGL texture.
Construct a new SurfaceTexture to stream images to a given OpenGL texture.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
Timestamplong. Retrieve the timestamp associated with the texture image set by the most recent call to updateTexImage.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AttachToGLContext(int)
Attach the SurfaceTexture to the OpenGL ES context that is current on the calling thread.
DetachFromGLContext()
Detach the SurfaceTexture from the OpenGL ES context that owns the OpenGL ES texture object.
GetTransformMatrix(float[])
Retrieve the 4x4 texture coordinate transform matrix associated with the texture image set by the most recent call to updateTexImage.
Release()
release() frees all the buffers and puts the SurfaceTexture into the 'abandoned' state.
ReleaseTexImage()
Releases the the texture content.
SetDefaultBufferSize(int, int)
Set the default size of the image buffers.
SetOnFrameAvailableListener(SurfaceTexture.IOnFrameAvailableListener)
Register a callback to be invoked when a new image frame becomes available to the SurfaceTexture.
SetOnFrameAvailableListener(SurfaceTexture.IOnFrameAvailableListener, Android.OS.Handler)
Register a callback to be invoked when a new image frame becomes available to the SurfaceTexture.
UpdateTexImage()
Update the texture image to the most recent frame from the image stream.

Public Events

FrameAvailableDocumentation for this section has not yet been entered.