@bit-ui-libs/common
Version:
This library was generated with [Nx](https://nx.dev).
39 lines (35 loc) • 934 B
text/typescript
export interface IncodeInitializeOptions {
/** Incode SDK API key */
apiKey: string;
/** Incode SDK API URL */
apiUrl: string;
/**
* **Note:** Only relevant for Mobile.
*
* If this is true then "emulator" mode is assumed,
* and Face Recognition step is skipped.
*
* We will also return useless values (i.e. `'testmode'`)
* as the result of face recognition methods.
*
*/
isMobileEmulator?: boolean;
/**
* **Note:** Only relevant for Mobile.
*
* Default value is `false`.
* This makes the user see Incode tutorials (which is skippable).
*/
waitForTutorials?: boolean;
// testMode?: boolean;
// apiConfig: {
// key?: string;
// url: string;
// };
// disableHookCheck?: boolean;
// sdkMode?: 'standard' | 'captureOnly';
// waitForTutorials?: boolean;
}
export interface IIncodeService {
initialize(config: IncodeInitializeOptions): Promise<void>;
}