@regulaforensics/face-sdk
    Preparing search index...

    Class FaceSDK

    Entry point of the Regula Face SDK.

    Index
    env: string | null

    Environment type.

    locale: string | null

    Custom language locale code of DocumentReaderSDK. If empty or doesn't exist - app language is used. Format "en-US" or "en".

    tenant: string | null

    Customer name.

    • get localizationDictionary(): Record<string, string> | null

      A localization dictionary to override default localization logic. Allows to replace any string of FaceSDK with an arbitrary string.

      To see all the localization keys, look up the RegulaSDK.strings file at ios/Pods/FaceSDK/FaceSDK.xcframework/ios-arm64/FaceSDK.framework/FaceSDK.bundle/en.lproj/FaceSDK.strings.

      Immutable property. Use setter instead of editing.

      Returns Record<string, string> | null

    • set localizationDictionary(val: Record<string, string> | null): void

      Parameters

      • val: Record<string, string> | null

      Returns void

    • get requestHeaders(): Record<string, string> | null

      Immutable property. Use setter instead of editing.

      Returns Record<string, string> | null

    • set requestHeaders(val: Record<string, string> | null): void

      Parameters

      • val: Record<string, string> | null

      Returns void

    • get serviceUrl(): string | null

      Returns string | null

    • set serviceUrl(val: string | null): void

      Parameters

      • val: string | null

      Returns void

    • get instance(): FaceSDK

      The only instance of singleton class FaceSDK.

      Returns FaceSDK

    • Used to deinitialize FaceSDK and free up RAM as a consequence of this.

      Returns void

    • Allows you to initialize FaceSDK.

      Parameters

      Returns Promise<[boolean, InitException | null]>

      Returns boolean indicating success of initialization and a nullable InitException.

    • Checks if FaceSDK is initialized.

      Returns Promise<boolean>

    • Returns void

    • Returns void