Windows Dev Center

CameraCaptureUI.CameraCaptureUI constructor

Create a new CameraCaptureUI object.

Syntax


public CameraCaptureUI()

Parameters

This constructor has no parameters.

Remarks

After you create a new CameraCaptureUI object, you may want to set the PhotoSettings or VideoSettings property of the object before calling CaptureFileAsync.

Examples


var captureUI = new Windows.Media.CameraCaptureUI();


Requirements (Windows 10 device family)

Device family

Desktop

API contract

Windows.Media.Capture.CameraCaptureUIContract, introduced version 1.0

Namespace

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

Metadata

Windows.Media.Capture.CameraCaptureUIContract.winmd

Capabilities

webcam
microphone

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

Capabilities

webcam
microphone

See also

CameraCaptureUI

 

 

Show:
© 2015 Microsoft