Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

CameraCaptureUIMode Enum

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?