Dela via


AppCaptureAlternateShortcutKeys.ToggleCameraCaptureKey Property

Definition

Gets or sets the toggle camera capture shortcut key.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime.

public:
 property VirtualKey ToggleCameraCaptureKey { VirtualKey get(); void set(VirtualKey value); };
VirtualKey ToggleCameraCaptureKey();

void ToggleCameraCaptureKey(VirtualKey value);
public VirtualKey ToggleCameraCaptureKey { get; set; }
var virtualKey = appCaptureAlternateShortcutKeys.toggleCameraCaptureKey;
appCaptureAlternateShortcutKeys.toggleCameraCaptureKey = virtualKey;
Public Property ToggleCameraCaptureKey As VirtualKey

Property Value

The toggle camera capture shortcut key.

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.14393.0)
API contract
Windows.Media.Capture.AppCaptureContract (introduced in v3.0)
App capabilities
appCaptureSettings

Applies to

See also