CameraController class
Methods
captureImage ()
→ Future <String ? >
Yêu cầu native code chụp ảnh.
Trả về đường dẫn (String) của file ảnh đã lưu nếu thành công, ngược lại trả về null.
deleteAllCapturedPhotos ()
→ Future <bool >
Yêu cầu native code xóa tất cả các ảnh đã được chụp và lưu trong thư mục tạm/cache của plugin.
Trả về true nếu thành công (hoặc không có gì để xóa), false nếu có lỗi hoặc không thành công.
dispose ()
→ void
initialize ()
→ Future <void >
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseCamera ()
→ Future <void >
Yêu cầu native code tạm dừng camera.
resumeCamera ()
→ Future <void >
Yêu cầu native code tiếp tục (resume) camera.
switchCamera (bool useFrontCamera )
→ Future <void >
Yêu cầu native code chuyển đổi giữa camera trước và sau.
useFrontCamera: true nếu muốn sử dụng camera trước, false cho camera sau.
toString ()
→ String
A string representation of this object.
inherited
native_camera_view 0.0.17