CameraModuleApi class

Inheritance

Constructors

CameraModuleApi()

Properties

cmdPrefix → String
final
emptyParams → Map<String, dynamic>
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkCameraPermission() → Future<Map<String, dynamic>>
closeCamera(int cameraId) → Future<Map<String, dynamic>>
getCamerasInfo() → Future<Map<String, dynamic>>
getCmdPrefix() → String
override
getNumberOfCameras() → Future<Map<String, dynamic>>
getSupportedPictureSizes(int cameraId) → Future<Map<String, dynamic>>
getSupportedPreviewSizes(int cameraId) → Future<Map<String, dynamic>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openCamera(int cameraId) → Future<Map<String, dynamic>>
requestCameraPermission() → Future<Map<String, dynamic>>
setPictureSize(int cameraId, int width, int height) → Future<Map<String, dynamic>>
setPreviewSize(int cameraId, int width, int height) → Future<Map<String, dynamic>>
startPreview(int cameraId) → Future<Map<String, dynamic>>
takePicture(int cameraId) → Future<Map<String, dynamic>>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited