canDisableShutterSound property

bool? canDisableShutterSound
final

Whether the shutter sound can be disabled.

On some devices, the camera shutter sound cannot be turned off through Camera.enableShutterSound. This field can be used to determine whether a call to disable the shutter sound will succeed.

If this field is set to true, then a call of Camera.enableShutterSound will be successful. If set to false, then that call will fail, and the shutter sound will be played when Camera.takePicture is called.

This is only supported on Android versions >= Build.VERSION_CODES.JELLY_BEAN_MR1. This value will be null for all version below this one.

Implementation

final bool? canDisableShutterSound;