ICameraCaptureDevice interface

Applies to Windows Phone only

Represents a camera.

Syntax


public interface ICameraCaptureDevice : IDisposable

Attributes

[Version(0x06020000)]

Members

The ICameraCaptureDevice interface has these types of members:

Events

The ICameraCaptureDevice interface has these events.

EventDescription
PreviewFrameAvailable Occurs when a preview frame is available.
VendorSpecificDataAvailable Occurs when vendor-specific data is available.

 

Methods

The ICameraCaptureDevice interface has these methods. It also inherits methods from the Object class.

MethodDescription
FocusAsync Starts the autofocus, auto white balance, and auto exposure operations, as applicable.
GetPreviewBufferArgb Copies the current viewfinder ARGB frame into a buffer for further manipulation.
GetPreviewBufferY Copies the luminance data for the current viewfinder frame into a buffer for further manipulation.
GetPreviewBufferYCbCr Copies the current viewfinder frame into a buffer for further manipulation.
GetProperty Gets the value of a known camera property.
ResetFocusAsync Returns the lens to the default position or allows continuous autofocus to resume.
SetCaptureResolutionAsync Sets the capture resolution.
SetPreviewResolutionAsync Sets the preview resolution.
SetProperty Sets the value of a known camera property.

 

Properties

The ICameraCaptureDevice interface has these properties.

PropertyAccess typeDescription

CaptureResolution

Read/writeGets the capture resolution.

FocusRegion

Read/writeGets or sets the region in the viewfinder where the camera focuses.

PreviewResolution

Read-onlyGets the preview resolution.

SensorLocation

Read-onlyGets the location of the camera on the phone (front or back).

SensorRotationInDegrees

Read-onlyGets the number of degrees that the camera sensor is rotated relative to the screen.

 

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

End of phone support

Windows Phone 8.1 [Windows Phone Silverlight 8.1 apps only]

Namespace

Windows.Phone.Media.Capture
Windows::Phone::Media::Capture [C++]

Metadata

Windows.winmd

See also

IClosable

 

 

Community Additions

ADD
Show:
© 2014 Microsoft