Biometrid IOS SDK
3.0.2
3.0.2
  • Introduction
  • Standard SDK
    • Prerequisites
    • Requirements
    • Initialization
    • Enums
    • Installation
      • Zip file
      • CocoaPods
    • Process Management
      • Create process
      • Get Step State
      • Update Step
      • Previous Step
    • Liveness Detection
    • Auto Capture
      • MRZ Capture
      • Configurations
    • Camera
      • Configurations
    • NFC
      • Scan Result
      • Configurations
    • Video Conference
    • Biometric Authentication
      • Configurations
    • Device Location
      • Configurations
    • Presence Detection
      • Configurations
  • FULL SDK
    • Requirements
    • Usage
    • Installation
      • Zip file
      • CocoaPods
    • Initialization
    • Start
    • Stop
    • Callbacks
Powered by GitBook
On this page

Was this helpful?

  1. Standard SDK
  2. NFC

Configurations

This section describes the available camera configurations.

The camera feature is customizable and allows configuring the texts and colors for the nfc scan.

The configurations can be defined as exemplified below:

let colors = NFCColors(primary: "#4880FF", secondary: "#F2F6FF")

let cta = Cta(move: Move(close: "Close"))
let nfc = Nfc(scanTitle: "Ready to Scan", scanDescription: "Hold the passport close to the phone")
let translations = Translations(cta: cta, nfc: nfc)

let customization = NFCCustomization(colors: colors, translations: translations)

For more information about each possible configuration see the corresponding data model below:

Models

NFCCustomization
Description

colors: NFCColors?

Defines all the colors for nfc scan.

translations: Translations?

Defines all the texts used in nfc scan.


NFCColors
Description

primary: String?

Defines the hex value for the primary color of the nfc scan.

secondary: String?

Defines the hex value for the secondary color of the nfc scan.

error: String?

Defines the hex value for the error color of the nfc scan.

base: String?

Defines the hex value for the base color of the nfc scan.


Translations
Description

cta: Cta?

Defines the texts for the main action buttons.

nfc: Nfc?

Defines the texts shown during the NFC scanning process.

Cta
Description

move: Move?

Defines all move texts.

positive: Positive?

Defines all the positive texts.

negative: Negative?

Defines all the negative texts.

takeAction: TakeAction?

Defines all take action texts.

Move
Description

close: String?

Defines the close texts.

continue: String?

Defines the continue texts.

skip: String?

Defines the skip texts.

Positive
Description

confirm: String?

Defines confirm texts.

Negative
Description

cancel: String?

Defines cancel texts.

TakeAction
Description

retake: String?

Defines the retake texts.

settings: String?

Defines the settings texts.


Nfc
Description

scanTitle: String?

Defines the NFC instructions title text.

scanDescription: String?

Defines the NFC instructions description text.

scanCaption: String?

Defines the NFC instructions for scan caption text.

scanManual: String?

Defines the NFC instructions for scan manual text.

scanClick: String?

Defines the NFC instructions for scan button click text.

scanPreview: String?

Defines the NFC instructions for scan preview text.

instructionsTitle: String?

Defines the NFC instructions for scan instructions title text.

instructionsSlide1Description: String?

Defines the NFC instructions first slide text.

instructionsSlide2Description: String?

Defines the NFC instructions second slide text.

instructionsSlide3Description: String?

Defines the NFC instructions third slide text.

instructionsSlide4Description: String?

Defines the NFC instructions fourth slide text.

permissionTitle: String?

Defines the NFC instructions for permission title text.

permissionDescription: String?

Defines the NFC instructions for permission description text.

nfcTitle: String?

Defines the NFC scan title text.

nfcDescription: String?

Defines the NFC scan description text.

nfcHold: String?

Defines the NFC scan hold still text.

nfcCompleted: String?

Defines the NFC scan completed text.

nfcError: String?

Defines the NFC scan error text.

errorTitle: String?

Defines the error title text.

errorDescription: String?

Defines the error description text.

PreviousScan ResultNextVideo Conference

Was this helpful?