最終更新:2016-01-04 (月) 14:48:17 (3033d)  

TextureView.SurfaceTextureListener
Top / TextureView.SurfaceTextureListener

http://developer.android.com/reference/android/view/TextureView.SurfaceTextureListener.html

メソッド

onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height)Invoked when a TextureView's SurfaceTexture is ready for use.
onSurfaceTextureDestroyed?(SurfaceTexture surface)Invoked when the specified SurfaceTexture is about to be destroyed.
onSurfaceTextureSizeChanged?(SurfaceTexture surface, int width, int height)Invoked when the SurfaceTexture's buffers size changed.
onSurfaceTextureUpdated?(SurfaceTexture surface)Invoked when the specified SurfaceTexture is updated through SurfaceTexture.updateTexImage().

メモ

  • It is therefore highly recommended you use a listener to be notified when the SurfaceTexture becomes available.

関連