Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CameraOptionsUI.Show | show method

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

Syntax


public static void Show(
  MediaCapture mediaCapture
)

Parameters

mediaCapture

Type: MediaCapture

The MediaCapture object that provides methods for the capture of photos, audio recordings and videos.

Examples

The following example shows how to display the camera options.


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


Requirements (Windows 10 device family)

Device family

Desktop, introduced version 10.0.10240.0

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

CameraOptionsUI

 

 

Show: