Skip to main content
CameraOptionsUI.Show | show method

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

Syntax


Windows.Media.Capture.CameraOptionsUI.show(mediaCapture);

public static void Show(
  MediaCapture mediaCapture
)

Public Shared Sub Show(
  mediaCapture As MediaCapture 
)

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.

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