Share via


TextureView.ISurfaceTextureListener.OnSurfaceTextureUpdated Method

Definition

Invoked when the specified SurfaceTexture is updated through SurfaceTexture#updateTexImage().

[Android.Runtime.Register("onSurfaceTextureUpdated", "(Landroid/graphics/SurfaceTexture;)V", "GetOnSurfaceTextureUpdated_Landroid_graphics_SurfaceTexture_Handler:Android.Views.TextureView/ISurfaceTextureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnSurfaceTextureUpdated (Android.Graphics.SurfaceTexture surface);
[<Android.Runtime.Register("onSurfaceTextureUpdated", "(Landroid/graphics/SurfaceTexture;)V", "GetOnSurfaceTextureUpdated_Landroid_graphics_SurfaceTexture_Handler:Android.Views.TextureView/ISurfaceTextureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnSurfaceTextureUpdated : Android.Graphics.SurfaceTexture -> unit

Parameters

surface
SurfaceTexture

The surface just updated

Attributes

Remarks

Invoked when the specified SurfaceTexture is updated through SurfaceTexture#updateTexImage().

Java documentation for android.view.TextureView.SurfaceTextureListener.onSurfaceTextureUpdated(android.graphics.SurfaceTexture).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to