Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add prepareForVideoRecording empty impl
  • Loading branch information
camsim99 committed May 6, 2024
commit 23ab00fd67cf15596d39457ec2befddb78b4fe37
1 change: 1 addition & 0 deletions packages/camera/camera_android_camerax/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

* Updates `README.md` to reflect the fact that the `camera_android_camerax` camera plugin implementation
is the endorsed Android implementation for `camera: ^0.11.0`.
* Adds empty implementation for `prepareVideoRecording`, which is not used for Android.

## 0.6.4

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,14 @@ class AndroidCameraCameraX extends CameraPlatform {
}
}

/// Prepare the capture session for video recording.
///
/// This optimization is not required for Android.
@override
Future<void> prepareForVideoRecording() {
return Future<void>.value();
}

/// Configures and starts a video recording. Returns silently without doing
/// anything if there is currently an active recording.
///
Expand Down