TextureView.ISurfaceTextureListener.OnSurfaceTextureSizeChanged Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Invoked when the SurfaceTexture
's buffers size changed.
[Android.Runtime.Register("onSurfaceTextureSizeChanged", "(Landroid/graphics/SurfaceTexture;II)V", "GetOnSurfaceTextureSizeChanged_Landroid_graphics_SurfaceTexture_IIHandler:Android.Views.TextureView/ISurfaceTextureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnSurfaceTextureSizeChanged (Android.Graphics.SurfaceTexture surface, int width, int height);
[<Android.Runtime.Register("onSurfaceTextureSizeChanged", "(Landroid/graphics/SurfaceTexture;II)V", "GetOnSurfaceTextureSizeChanged_Landroid_graphics_SurfaceTexture_IIHandler:Android.Views.TextureView/ISurfaceTextureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnSurfaceTextureSizeChanged : Android.Graphics.SurfaceTexture * int * int -> unit
Parameters
- surface
- SurfaceTexture
The surface returned by
android.view.TextureView#getSurfaceTexture()
- width
- Int32
The new width of the surface
- height
- Int32
The new height of the surface
- Attributes
Remarks
Invoked when the SurfaceTexture
's buffers size changed.
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.