@regulaforensics/face-sdk 8.2.921-nightly → 8.2.925-nightly

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.
@@ -11,6 +11,7 @@ export class LivenessConfig {
11
11
  cameraPositionAndroid
12
12
  screenOrientation
13
13
  locationTrackingEnabled
14
+ preventScreenRecording
14
15
  attemptsCount
15
16
  recordingProcess
16
17
  livenessType
@@ -28,6 +29,7 @@ export class LivenessConfig {
28
29
  this.cameraPositionAndroid = params?.cameraPositionAndroid
29
30
  this.screenOrientation = params?.screenOrientation ?? [ScreenOrientation.PORTRAIT]
30
31
  this.locationTrackingEnabled = params?.locationTrackingEnabled ?? true
32
+ this.preventScreenRecording = params?.preventScreenRecording ?? false
31
33
  this.attemptsCount = params?.attemptsCount ?? 0
32
34
  this.recordingProcess = params?.recordingProcess ?? RecordingProcess.ASYNCHRONOUS_UPLOAD
33
35
  this.livenessType = params?.livenessType ?? LivenessType.ACTIVE
@@ -49,6 +51,7 @@ export class LivenessConfig {
49
51
  result.cameraPositionIOS = jsonObject["cameraPositionIOS"]
50
52
  result.screenOrientation = jsonObject["screenOrientation"]
51
53
  result.locationTrackingEnabled = jsonObject["locationTrackingEnabled"]
54
+ result.preventScreenRecording = jsonObject["preventScreenRecording"]
52
55
  result.attemptsCount = jsonObject["attemptsCount"]
53
56
  result.recordingProcess = jsonObject["recordingProcess"]
54
57
  result.livenessType = jsonObject["livenessType"]
@@ -70,6 +73,7 @@ export class LivenessConfig {
70
73
  "cameraPositionIOS": this.cameraPositionIOS,
71
74
  "screenOrientation": this.screenOrientation,
72
75
  "locationTrackingEnabled": this.locationTrackingEnabled,
76
+ "preventScreenRecording": this.preventScreenRecording,
73
77
  "attemptsCount": this.attemptsCount,
74
78
  "recordingProcess": this.recordingProcess,
75
79
  "livenessType": this.livenessType,
@@ -10,6 +10,7 @@ export class CustomizationImages {
10
10
  set retryScreenCloseButton(val: string)
11
11
  set retryScreenHintEnvironment(val: string)
12
12
  set retryScreenHintSubject(val: string)
13
+ set retryScreenHintGeo(val: string)
13
14
  set processingScreenCloseButton(val: string)
14
15
  set successScreenImage(val: string)
15
16
 
@@ -11,6 +11,11 @@ export class FaceCaptureConfig {
11
11
  * Enables global face hint animation.
12
12
  */
13
13
  showFaceAnimation: boolean
14
+ /**
15
+ * Prevents screenshots and screen recording while FaceCapture camera screen is displayed.
16
+ * Defaults to `false`.
17
+ */
18
+ preventScreenRecording: boolean
14
19
  /**
15
20
  * Android only.
16
21
  */
@@ -34,6 +39,7 @@ export class FaceCaptureConfig {
34
39
  torchButtonEnabled?: boolean
35
40
  vibrateOnSteps?: boolean
36
41
  showFaceAnimation?: boolean
42
+ preventScreenRecording?: boolean
37
43
  cameraPositionAndroid?: number
38
44
  cameraPositionIOS?: CameraPosition
39
45
  screenOrientation?: Array<ScreenOrientation>
@@ -55,6 +55,12 @@ export class LivenessConfig {
55
55
  */
56
56
  locationTrackingEnabled: boolean
57
57
 
58
+ /**
59
+ * Prevents screenshots and screen recording while FaceCapture camera screen is displayed.
60
+ * Defaults to `false`.
61
+ */
62
+ preventScreenRecording: boolean
63
+
58
64
  /**
59
65
  * The number of attempts to pass the Liveness before completing with error. Defaults to `0`.
60
66
  * When set to `0` the Liveness will always ask to retry on error.
@@ -95,6 +101,7 @@ export class LivenessConfig {
95
101
  cameraPositionIOS?: CameraPosition
96
102
  screenOrientation?: Array<ScreenOrientation>
97
103
  locationTrackingEnabled?: boolean
104
+ preventScreenRecording?: boolean
98
105
  attemptsCount?: number
99
106
  recordingProcess?: RecordingProcess
100
107
  livenessType?: LivenessType