Share via


CameraCaptureUIMode Enum

Definition

Specifies the capture mode of an instnace of CameraCaptureUI.

public enum class CameraCaptureUIMode
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Media.Capture.CameraCaptureUIContract, 65536)]
enum class CameraCaptureUIMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Media.Capture.CameraCaptureUIContract), 65536)]
public enum CameraCaptureUIMode
var value = Microsoft.Windows.Media.Capture.CameraCaptureUIMode.photoOrVideo
Public Enum CameraCaptureUIMode
Inheritance
CameraCaptureUIMode
Attributes

Fields

Name Value Description
PhotoOrVideo 0

The UI allows the user to capture photos and videos.

Photo 1

The UI only allows the user to capture photos.

Video 2

The UI only allows the user to capture videos.

Remarks

Specify the desired mode by passing a value from this enumeration into the call to CameraCaptureUI.CaptureFileAsync.

Applies to