Android.Hardware.Camera: Method Members

The methods of Android.Hardware.Camera are listed below. For a list of all members, see the Camera Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

AddCallbackBuffer(byte[])
Adds a pre-allocated buffer to the preview callback buffer queue.
AutoFocus(Camera.IAutoFocusCallback)
Starts camera auto-focus and registers a callback function to run when the camera is focused.
CancelAutoFocus()
Cancels any auto-focus function in progress.
EnableShutterSound(bool) : bool
static
GetCameraInfo(int, Camera.CameraInfo)
Returns the information about a particular camera.
GetParameters() : Camera.Parameters
Returns the current settings for this Camera service.
Lock()
Re-locks the camera to prevent other processes from accessing it.
static
Open() : Camera
Creates a new Camera object to access the first back-facing camera on the device.
static
Open(int) : Camera
Creates a new Camera object to access a particular hardware camera.
Reconnect()
Reconnects to the camera service after another process used it.
Release()
Disconnects and releases the Camera object resources.
SetAutoFocusMoveCallback(Camera.IAutoFocusMoveCallback)
Sets camera auto-focus move callback.
SetDisplayOrientation(int)
Set the clockwise rotation of preview display in degrees.
SetErrorCallback(Camera.IErrorCallback)
Registers a callback to be invoked when an error occurs.
SetFaceDetectionListener(Camera.IFaceDetectionListener)
Registers a listener to be notified about the faces detected in the preview frame.
SetOneShotPreviewCallback(Camera.IPreviewCallback)
SetParameters(Camera.Parameters)
Changes the settings for this Camera service.
SetPreviewCallback(Camera.IPreviewCallback)
SetPreviewCallbackWithBuffer(Camera.IPreviewCallback)
SetPreviewDisplay(Android.Views.ISurfaceHolder)
Sets the Android.Views.Surface to be used for live preview.
SetPreviewTexture(Android.Graphics.SurfaceTexture)
Sets the Android.Graphics.SurfaceTexture to be used for live preview.
SetZoomChangeListener(Camera.IOnZoomChangeListener)
Registers a listener to be notified when the zoom value is updated by the camera driver during smooth zoom.
StartFaceDetection()
Starts the face detection.
StartPreview()
Starts capturing and drawing preview frames to the screen.
StartSmoothZoom(int)
Zooms to the requested value smoothly.
StopFaceDetection()
Stops the face detection.
StopPreview()
Stops capturing and drawing preview frames to the surface, and resets the camera for a future call to Camera.StartPreview.
StopSmoothZoom()
Stops the smooth zoom.
TakePicture(Camera.IShutterCallback, Camera.IPictureCallback, Camera.IPictureCallback)
Equivalent to takePicture(shutter, raw, null, jpeg).
TakePicture(Camera.IShutterCallback, Camera.IPictureCallback, Camera.IPictureCallback, Camera.IPictureCallback)
Triggers an asynchronous image capture.
Unlock()
Unlocks the camera to allow another process to access it.