public static interface VideoTextureView.OnTextureListener
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onSurfaceAvailable(android.graphics.SurfaceTexture surface)
SurfaceTexture准备就绪
|
boolean |
onSurfaceDestroyed(android.graphics.SurfaceTexture surface)
SurfaceTexture即将被销毁
|
void |
onSurfaceSizeChanged(android.graphics.SurfaceTexture surface,
int width,
int height)
SurfaceTexture缓冲大小变化
|
void |
onSurfaceUpdated(android.graphics.SurfaceTexture surface)
SurfaceTexture通过updateImage更新
|
void onSurfaceAvailable(android.graphics.SurfaceTexture surface)
surface - surfacevoid onSurfaceSizeChanged(android.graphics.SurfaceTexture surface,
int width,
int height)
surface - surfacewidth - WIDTHheight - HEIGHTboolean onSurfaceDestroyed(android.graphics.SurfaceTexture surface)
surface - surfacevoid onSurfaceUpdated(android.graphics.SurfaceTexture surface)
surface - surface