setShutterSoundEnabled

fun setShutterSoundEnabled(shutterSoundEnabled: Boolean)

Set camera shutter sound state. {@code true} if a sound should be played when taking a picture, {@code false} - otherwise By default, the camera plays the system-defined camera shutter sound when taking a picture.

Note that devices may not always allow disabling the camera shutter sound. If the shutter sound state cannot be set to the desired value, this value will be ignored.

This value is always {@code true} for pre-JELLY_BEAN_MR1

Parameters

shutterSoundEnabled

if shutter sound should be enabled