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
- StaticAttribute(Windows.Media.Capture.ICameraOptionsUIStatics, NTDDI_WIN8)
- ThreadingAttribute(MTA)
- VersionAttribute(NTDDI_WIN8)
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.
| Method | Description |
|---|---|
| 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] |
|
Namespace |
|
|
Metadata |
|
|
Capabilities |
|
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
Build date: 12/4/2012