Android Guides | Samples

Android.Views.TextureView.ISurfaceTextureListener

This listener can be used to be notified when the surface texture associated with this texture view is available.

See Also: TextureView+ISurfaceTextureListener

Syntax

[Android.Runtime.Register("android/view/TextureView$SurfaceTextureListener", "", "Android.Views.TextureView/ISurfaceTextureListenerInvoker")]
public interface TextureView.ISurfaceTextureListener : IJavaObject, IDisposable

Remarks

This listener can be used to be notified when the surface texture associated with this texture view is available.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14

The members of Android.Views.TextureView.ISurfaceTextureListener are listed below.

Public Methods

OnSurfaceTextureAvailable(SurfaceTexture, Int32, Int32)
Invoked when a TextureView's SurfaceTexture is ready for use.
OnSurfaceTextureDestroyed(SurfaceTexture) : Boolean
Invoked when the specified SurfaceTexture is about to be destroyed.
OnSurfaceTextureSizeChanged(SurfaceTexture, Int32, Int32)
Invoked when the SurfaceTexture's buffers size changed.
OnSurfaceTextureUpdated(SurfaceTexture)
Invoked when the specified SurfaceTexture is updated through SurfaceTexture.UpdateTexImage.