示例#1
0
 /// <summary>
 /// Turn the shutter sound on or off, if it is permitted by policy.
 /// </summary>
 /// <since_tizen> 4 </since_tizen>
 /// <param name="shutterSound">Shutter sound On/Off flag</param>
 /// <remarks>
 /// If this value is true, shutter sound will be disabled, otherwise enabled.
 /// In some countries, this operation is not permitted.
 /// </remarks>
 /// <exception cref="InvalidOperationException">Disabling shutter sound is not permitted.</exception>
 /// <exception cref="ObjectDisposedException">The camera already has been disposed of.</exception>
 public void DisableShutterSound(bool shutterSound)
 {
     CameraErrorFactory.ThrowIfError(Native.DisableShutterSound(_camera.GetHandle(), shutterSound),
                                     "Failed to set disable shutter sound.");
 }
示例#2
0
 /// <summary>
 /// Turn the shutter sound on or off, if it is permitted by policy.
 /// </summary>
 /// <param name="shutterSound">Shutter sound On/Off flag</param>
 /// <since_tizen> 4 </since_tizen>
 /// <feature> http://tizen.org/feature/camera </feature>
 /// <remarks>
 /// If this value is true, shutter sound will be disabled, otherwise enabled.
 /// In some countries, this operation is not permitted.
 /// </remarks>
 /// <exception cref="InvalidOperationException">Disabling shutter sound is not permitted.</exception>
 /// <exception cref="ObjectDisposedException">The camera already has been disposed of.</exception>
 public void DisableShutterSound(bool shutterSound)
 {
     Native.DisableShutterSound(_camera.GetHandle(), shutterSound).
     ThrowIfFailed("Failed to set disable shutter sound.");
 }