Package 

Interface CameraPreview.SurfaceCallback


  • 
    public interface CameraPreview.SurfaceCallback
    
                        

    This is used to notify CameraEngine to recompute its camera Preview size.After that, CameraView will need a new layout pass to adapt to the Preview size.

    • Method Summary

      Modifier and Type Method Description
      abstract void onSurfaceAvailable() Called when the surface is available.
      abstract void onSurfaceChanged() Called when the surface has changed.
      abstract void onSurfaceDestroyed() Called when the surface was destroyed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onSurfaceAvailable

         abstract void onSurfaceAvailable()

        Called when the surface is available.

      • onSurfaceChanged

         abstract void onSurfaceChanged()

        Called when the surface has changed.

      • onSurfaceDestroyed

         abstract void onSurfaceDestroyed()

        Called when the surface was destroyed.