MethodChannelArtemisCameraKit class
An implementation of ArtemisCameraKitPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- ArtemisCameraKitPlatform
- MethodChannelArtemisCameraKit
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
changeCameraVisibility(
bool visibility) → Future< void> -
override
-
changeFlashMode(
FlashMode flashMode) → Future< void> -
override
-
dispose(
) → Future< void> -
override
-
getBarcodesFromImage(
[String path = ""]) → Future< BarcodeData?> -
override
-
getCameraPermission(
) → Future< bool?> -
override
-
getDataFromImage(
String path) → Future< DataInImage> -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
initCamera(
{required bool hasBarcodeReader, required FlashMode initFlash, required bool fill, required BarcodeType barcodeType, required CameraType cameraType, required UsageMode mode}) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pauseCamera(
) → Future< void> -
override
-
processImageFromPath(
[String path = ""]) → Future< OcrData?> -
override
-
resumeCamera(
) → Future< void> -
override
-
setMethodCallHandler(
Future handler(MethodCall call)?) → Future< void> -
override
-
takePicture(
[String path = ""]) → Future< String?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited