diff --git a/cameraview/src/main/java/com/otaliastudios/cameraview/engine/CameraEngine.java b/cameraview/src/main/java/com/otaliastudios/cameraview/engine/CameraEngine.java index 0614789d..f693e293 100644 --- a/cameraview/src/main/java/com/otaliastudios/cameraview/engine/CameraEngine.java +++ b/cameraview/src/main/java/com/otaliastudios/cameraview/engine/CameraEngine.java @@ -721,7 +721,11 @@ public abstract class CameraEngine implements public abstract void takeVideo(@NonNull VideoResult.Stub stub, @Nullable File file, @Nullable FileDescriptor fileDescriptor); - public abstract void takeVideoSnapshot(@NonNull VideoResult.Stub stub, @NonNull File file); +// FileDescriptor options for Android 10+ + public abstract void takeVideoSnapshot(@NonNull VideoResult.Stub stub, + @Nullable File file, + @Nullable FileDescriptor fileDescriptor); + public abstract void stopVideo(); //endregion