Fix javadoc errors (#55)

pull/62/head
Johnson145 7 years ago committed by Mattia Iavarone
parent b1d183a714
commit 46b8e54155
  1. 4
      cameraview/src/main/java/com/otaliastudios/cameraview/CameraView.java

@ -519,6 +519,8 @@ public class CameraView extends FrameLayout {
/** /**
* Checks that we have appropriate permissions for this session type. * Checks that we have appropriate permissions for this session type.
* Throws if session = audio and manifest did not add the microphone permissions. * Throws if session = audio and manifest did not add the microphone permissions.
* @param sessionType
* @param audio
* @return true if we can go on, false otherwise. * @return true if we can go on, false otherwise.
*/ */
@SuppressLint("NewApi") @SuppressLint("NewApi")
@ -1274,7 +1276,7 @@ public class CameraView extends FrameLayout {
/** /**
* Controls whether CameraView should play sound effects on certain * Controls whether CameraView should play sound effects on certain
* events (picture taken, focus complete). Note that: * events (picture taken, focus complete). Note that:
* - On API level < 16, this flag is always false * - On API level {@literal <} 16, this flag is always false
* - Camera1 will always play the shutter sound when taking pictures * - Camera1 will always play the shutter sound when taking pictures
* *
* @param playSounds whether to play sound effects * @param playSounds whether to play sound effects

Loading…
Cancel
Save