Skip to content

Commit

Permalink
Re-add setCaptureMode
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoSavaglia committed Nov 3, 2023
1 parent baf1054 commit 076f40c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,15 @@ public Size getCaptureSize() {
return this.captureSize;
}

/**
* Gets the current capture mode for the configured resolution.
*
* @return The current capture mode.
*/
public CaptureMode getCaptureMode() {
return this.captureMode;
}

@NonNull
@Override
public String getDebugName() {
Expand Down
2 changes: 1 addition & 1 deletion packages/camera/camera_platform_interface/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repository: https://github.com/flutter/packages/tree/main/packages/camera/camera
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
version: 2.6.0
version: 2.6.1

environment:
sdk: ">=2.19.0 <4.0.0"
Expand Down

0 comments on commit 076f40c

Please sign in to comment.