MediaCaptureInitializationSettings.AlwaysPlaySystemShutterSound MediaCaptureInitializationSettings.AlwaysPlaySystemShutterSound MediaCaptureInitializationSettings.AlwaysPlaySystemShutterSound MediaCaptureInitializationSettings.AlwaysPlaySystemShutterSound MediaCaptureInitializationSettings.AlwaysPlaySystemShutterSound Property

Definition

Gets a value indicating whether the system should always play a shutter sound when a photo is captured.

public : Platform::Boolean AlwaysPlaySystemShutterSound { get; set; }
bool AlwaysPlaySystemShutterSound();

void AlwaysPlaySystemShutterSound(bool alwaysplaysystemshuttersound);
public bool AlwaysPlaySystemShutterSound { get; set; }
Public ReadWrite Property AlwaysPlaySystemShutterSound As bool
var bool = mediaCaptureInitializationSettings.alwaysPlaySystemShutterSound;
mediaCaptureInitializationSettings.alwaysPlaySystemShutterSound = bool;

Property Value

bool bool bool

True if the system should always play a shutter sound; otherwise, false.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)
Capabilities
backgroundMediaRecording

Remarks

Some regions require that the system play a shutter sound whenever a photo is captured. Setting this value to true will cause the system to always play the shutter sound, whether or not is required by the current region. Setting this value to false will not suppress the system shutter sound when it is required.