CameraOptionsUI class

Applies to Windows only

Provides a method for displaying a UI, by which the UI contains options for the capture of photos, audio recordings and videos.

Syntax


var cameraOptionsUI = Windows.Media.Capture.CameraOptionsUI;

Attributes

[Threading(MTA)]
[Version(0x06020000)]

Members

The CameraOptionsUI class has these types of members:

Methods

The CameraOptionsUI class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
Show Displays a UI that contains options for the capture of photos, audio recordings and videos.

 

Remarks

This object is not instantiated directly.

Examples

The following example shows how to use this class to display the camera options.


function showWebcamSettings() {
    var mediaCaptureMgr = new Windows.Media.Capture.MediaCapture();
    Windows.Media.Capture.CameraOptionsUI.show(mediaCaptureMgr);
}


Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

Capabilities

webcam
microphone

See also

Roadmaps
Adding multimedia to Windows Store apps using C++, C#, or Visual Basic
Adding multimedia to Windows Store apps using JavaScript
Samples
Camera capture UI sample
Camera options UI sample

 

 

Show:
© 2014 Microsoft