Added in API level 1

SurfaceHolder.Callback


public static interface SurfaceHolder.Callback

android.view.SurfaceHolder.Callback


A client may implement this interface to receive information about changes to the surface. When used with a SurfaceView, the Surface being held is only available between calls to surfaceCreated(SurfaceHolder) and surfaceDestroyed(SurfaceHolder). The Callback is set with SurfaceHolder.addCallback method.

Summary

Public methods

abstract void surfaceChanged(SurfaceHolder holder, int format, int width, int height)