Language

RSTextureView.OnSurfaceTextureAvailable(SurfaceTexture, Int32, Int32) Method

Definition

Caution

deprecated

This member is deprecated.

[Android.Runtime.Register("onSurfaceTextureAvailable", "(Landroid/graphics/SurfaceTexture;II)V", "GetOnSurfaceTextureAvailable_Landroid_graphics_SurfaceTexture_IIHandler")]
[System.Obsolete("deprecated")]
public virtual void OnSurfaceTextureAvailable(Android.Graphics.SurfaceTexture? surface, int width, int height);
[<Android.Runtime.Register("onSurfaceTextureAvailable", "(Landroid/graphics/SurfaceTexture;II)V", "GetOnSurfaceTextureAvailable_Landroid_graphics_SurfaceTexture_IIHandler")>]
[<System.Obsolete("deprecated")>]
abstract member OnSurfaceTextureAvailable : Android.Graphics.SurfaceTexture * int * int -> unit
override this.OnSurfaceTextureAvailable : Android.Graphics.SurfaceTexture * int * int -> unit

Parameters

surface
SurfaceTexture

The newly available surface texture.

width
Int32

The surface width, in pixels.

height
Int32

The surface height, in pixels.

Implements

Attributes

Remarks

This member is deprecated. in API 16

Java documentation for android.renderscript.RSTextureView.onSurfaceTextureAvailable(android.graphics.SurfaceTexture, int, int).

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