Skip to content

Commit f1a8077

Browse files
committed
update readme
1 parent 548ffcf commit f1a8077

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Or if you use Maven :
4444

4545
cam.setCameraCallback(new EZCamCallback() {
4646
@Override
47-
public void onCameraReady() {
47+
public void onCameraReady() {
4848
// triggered after cam.open(...)
4949
// you can set capture settings for example:
5050
cam.setCaptureSetting(CaptureRequest.COLOR_CORRECTION_ABERRATION_MODE, CameraMetadata.COLOR_CORRECTION_ABERRATION_MODE_HIGH_QUALITY);
@@ -55,19 +55,19 @@ Or if you use Maven :
5555
}
5656

5757
@Override
58-
public void onPicture(Image image) {
58+
public void onPicture(Image image) {
5959
File file = new File(getFilesDir(), "image.jpg"); // internal storage
6060
File file = new File(getExternalFilesDir(null), "image.jpg") // external storage, need permissions
6161
cam.saveImage(image, file);
6262
}
6363

6464
@Override
65-
public void onError(String message) {
65+
public void onError(String message) {
6666
// all errors will be passed through this methods
6767
}
6868

6969
@Override
70-
public void onCameraDisconnected() {
70+
public void onCameraDisconnected() {
7171
// camera disconnected
7272
}
7373
});

0 commit comments

Comments
 (0)