Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 11

SurfaceTexture.OnFrameAvailableListener

public static interface SurfaceTexture.OnFrameAvailableListener

android.graphics.SurfaceTexture.OnFrameAvailableListener


Callback interface for being notified that a new stream frame is available.

Summary

Public methods

abstract void onFrameAvailable(SurfaceTexture surfaceTexture)

Public methods

onFrameAvailable

added in API level 11
public abstract void onFrameAvailable (SurfaceTexture surfaceTexture)

Parameters
surfaceTexture SurfaceTexture