scandit-datacapture-frameworks-core 6.22.1 → 6.23.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dts/camera/Camera.d.ts +1 -0
- package/dist/dts/camera/TorchSwitchControl.d.ts +5 -0
- package/dist/dts/camera/ZoomSwitchControl.d.ts +4 -0
- package/dist/dts/view/ControlImage.d.ts +11 -0
- package/dist/dts/view/index.d.ts +1 -0
- package/dist/index.js +1146 -1028
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -18,6 +18,7 @@ export declare class Camera extends DefaultSerializeable implements FrameSource
|
|
|
18
18
|
private get context();
|
|
19
19
|
private controller;
|
|
20
20
|
static get default(): Camera | null;
|
|
21
|
+
static withSettings(settings: CameraSettings): Camera | null;
|
|
21
22
|
static atPosition(cameraPosition: CameraPosition): Camera | null;
|
|
22
23
|
get desiredState(): FrameSourceState;
|
|
23
24
|
set desiredTorchState(desiredTorchState: TorchState);
|
|
@@ -13,5 +13,10 @@ export declare class TorchSwitchControl extends DefaultSerializeable implements
|
|
|
13
13
|
get torchOnImage(): string | null;
|
|
14
14
|
set torchOnImage(torchOnImage: string | null);
|
|
15
15
|
get torchOnPressedImage(): string | null;
|
|
16
|
+
setTorchOffImage(resource: string): void;
|
|
17
|
+
setTorchOffPressedImage(resource: string): void;
|
|
18
|
+
setTorchOnImage(resource: string): void;
|
|
19
|
+
setTorchOnPressedImage(resource: string): void;
|
|
20
|
+
setImageResource(resource: string): void;
|
|
16
21
|
set torchOnPressedImage(torchOnPressedImage: string | null);
|
|
17
22
|
}
|
|
@@ -14,4 +14,8 @@ export declare class ZoomSwitchControl extends DefaultSerializeable implements C
|
|
|
14
14
|
set zoomedInPressedImage(zoomedInPressedImage: string | null);
|
|
15
15
|
get zoomedOutPressedImage(): string | null;
|
|
16
16
|
set zoomedOutPressedImage(zoomedOutPressedImage: string | null);
|
|
17
|
+
setZoomedInImage(resource: string): void;
|
|
18
|
+
setZoomedInPressedImage(resource: string): void;
|
|
19
|
+
setZoomedOutImage(resource: string): void;
|
|
20
|
+
setZoomedOutPressedImage(resource: string): void;
|
|
17
21
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DefaultSerializeable } from "../serializable";
|
|
2
|
+
export declare class ControlImage extends DefaultSerializeable {
|
|
3
|
+
private type;
|
|
4
|
+
private _data;
|
|
5
|
+
private _name;
|
|
6
|
+
private constructor();
|
|
7
|
+
static fromBase64EncodedImage(data: string | null): ControlImage | null;
|
|
8
|
+
static fromResourceName(resource: string): ControlImage;
|
|
9
|
+
isBase64EncodedImage(): boolean;
|
|
10
|
+
get data(): string | null;
|
|
11
|
+
}
|