Camera Windows Plugin
The Windows implementation of camera
.
Note: This plugin is under development. See missing implementations and limitations.
Usage
Depend on the package
This package is not an endorsed
implementation of the camera
plugin, so in addition to depending
on camera
you'll need to
add camera_windows
to your pubspec.yaml explicitly.
Once you do, you can use the camera
APIs as you normally would.
Missing features on the Windows platform
Device orientation
Device orientation detection is not yet implemented: issue #97540.
Pause and Resume video recording
Pausing and resuming the video recording is not supported due to Windows API limitations.
Exposure mode, point and offset
Support for explosure mode and offset is not yet implemented: issue #97537.
Exposure points are not supported due to limitations of the Windows API.
Focus mode and point
Support for explosure mode and offset is not yet implemented: issue #97537.
Flash mode
Support for flash mode is not yet implemented: issue #97537.
Focus points are not supported due to current limitations of the Windows API.
Streaming of frames
Support for image streaming is not yet implemented: issue #97542.
Error handling
Camera errors can be listened using the platform's onCameraError
method.
Listening to errors is important, and in certain situations, disposing of the camera is the only way to reset the situation.