Skip to content

Commit 46b8e54

Browse files
Johnson145natario1
authored andcommitted
Fix javadoc errors (#55)
1 parent b1d183a commit 46b8e54

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cameraview/src/main/java/com/otaliastudios/cameraview/CameraView.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,9 @@ public void start() {
518518

519519
/**
520520
* Checks that we have appropriate permissions for this session type.
521-
* Throws if session = audio and manifest did not add the microphone permissions.
521+
* Throws if session = audio and manifest did not add the microphone permissions.
522+
* @param sessionType
523+
* @param audio
522524
* @return true if we can go on, false otherwise.
523525
*/
524526
@SuppressLint("NewApi")
@@ -1274,7 +1276,7 @@ private void playSound(int soundType) {
12741276
/**
12751277
* Controls whether CameraView should play sound effects on certain
12761278
* events (picture taken, focus complete). Note that:
1277-
* - On API level < 16, this flag is always false
1279+
* - On API level {@literal <} 16, this flag is always false
12781280
* - Camera1 will always play the shutter sound when taking pictures
12791281
*
12801282
* @param playSounds whether to play sound effects

0 commit comments

Comments
 (0)