Skip to content

Commit

Permalink
Update CameraListener.java
Browse files Browse the repository at this point in the history
  • Loading branch information
EzequielAdrianM committed Feb 8, 2024
1 parent 84a32b8 commit c1ab8c8
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,5 +169,21 @@ public void onVideoRecordingEnd() {
public void onPictureShutter() {

}

/**
* Notifies that a finger gesture just triggered a swipe left event.
* This can be used to exchange between different filters or to
* swap between front and back cameras.
*/
@UiThread
public void onSwipeLeft() {}

/**
* Notifies that a finger gesture just triggered a swipe right event.
* This can be used to exchange between different filters or to
* swap between front and back cameras.
*/
@UiThread
public void onSwipeRight() {}

}

0 comments on commit c1ab8c8

Please sign in to comment.