Inherits SurfaceView.
Detailed Description
CameraSurface class is implemented to adhere to the Android SDK Camera API requirements. http://developer.android.com/reference/android/hardware/Camera.html "Important: Pass a fully initialized SurfaceHolder to setPreviewDisplay(SurfaceHolder). Without a surface, the camera will be unable to start the preview. "
Constructor & Destructor Documentation
CameraSurface constructor, perform basic initialization
- Parameters:
-
context | Application's context |
c | Camera reference |
Member Function Documentation
SurfaceChanged callback, does nothing
- Parameters:
-
holder | |
format | |
width | |
height | |
SurfaceCreated callback. Installs this as the surface holder for camera.
- Parameters:
-
holder | Reference to the holder |
SurfaceDestroyed callback, does nothing
- Parameters:
-
Field Documentation
Reference to application's camera instance
The documentation for this class was generated from the following file:
- fastcorner/src/com/qualcomm/fastcorner/CameraSurface.java