This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
IAppearance.ts
57 lines (52 loc) 路 2.21 KB
/
IAppearance.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import type { ColorValue, ProcessedColorValue } from 'react-native';
import type { IAndroidAppearance } from './android/IAndroidAppearance';
import type { IColors } from './IColors';
import type { IIosAppearance } from './ios/IIosAppearance';
export interface IAppearance<TColor extends ColorValue | ProcessedColorValue>
extends IIosAppearance,
IAndroidAppearance {
/**
* iOS header file (usedNewBrand):
* If set to `true`, the new IDNow branding will be used
* By default the value of this property is `true`
*
* Android README (newBrand):
* You can set the new branding
*/
newBranding?: boolean;
// -----------------------------------------------------------------------------------
// Colors
// -----------------------------------------------------------------------------------
colors?: IColors<TColor>;
// -----------------------------------------------------------------------------------
// Settings
// -----------------------------------------------------------------------------------
/**
* iOS header file:
* If set to `false`, the video overview check screen will not be shown before starting a video identification.
* The default value of this property is `true`.
*
* iOS README:
* Optional: If set to false, the video overview check screen will not be shown before starting a video identification.
* The default value of this property is true.
*
* Android README:
* You can decide whether to let the user confirm the legal points.
*/
showVideoOverviewCheck?: boolean;
/**
* iOS header file:
* If set to `false`, the Error-Success-Screen provided by the SDK will not be shown.
* The default value of this property is `true`.
*
* iOS README:
* Optional: If set to false, the Error-Success-Screen provided by the SDK will not be displayed.
* The default value of this property is true.
*
*
* Android README:
* Same goes to the success screen. If none is shown, the app sends the results right back.
* The defaults for the both parameters are "true";
*/
showErrorSuccessScreen?: boolean;
}