common/theme_builder library

Classes

BaseThemeBuilder
Shared storage for a screen theme. Values are grouped by category and keys never carry the type (colors.title, not colors.titleColor).
FacetecShadow
iOS only. Mirrors FacetecShadow(color:opacity:radius:offset:insets:).
FacetecThemeBuilder
FaceTec screens (SaaS provider): Ready, oval / feedback bar, Retry and the FaceTec result (upload) screen.
FortfaceThemeBuilder
Fortface camera / capture screen (SaaS provider).
InstructionsThemeBuilder
Instructions screen, shared by iProov, FaceTec and Fortface.
IproovThemeBuilder
iProov capture screen.
LoadingThemeBuilder
Loading screen (spinner shown during network work).
PermissionThemeBuilder
Camera permission screen, shared by iProov, FaceTec and Fortface.
PlatformOnly
Marks a theme property (setter or enum value) that only one native SDK supports. On the other platform the value is ignored.
ResultThemeBuilder
Oiti result screen, used by iProov and Fortface. FaceTec has its own result screen, see FacetecThemeBuilder.
ThemeBuilder
Root of the liveness customization. Pass toJson() as the theme of CertifaceSdk.startLiveness.

Enums

FacetecCancelButtonLocation
FacetecExitAnimationStyle
Android only. FacetecExitAnimationStyle.
FacetecResultAnimationStyle
iOS only. FacetecAnimationResultStyle of the FaceTec result screen.
FacetecTextKey
FaceTec texts. The value is the JSON key under texts.
FacetecVocalGuidanceMode
iOS only. FacetecVocalGuidanceMode.
FortfaceAccessibilityKey
iOS only. Fortface camera accessibility labels (FortfaceAccessibilityKey). The value is the JSON key under accessibility.
FortfaceCancelButtonPosition
FortfaceScreenMode
FortfaceScreenOrientation
FortfaceTextKey
Fortface camera messages. The value is the JSON key under texts.
InstructionImageScale
Android only. Scale of the instructions images (InstructionImageScale).
IProovFilterStyle
IProovOrientationGpa
Android only. OrientationGPA of the iProov capture.
IProovOrientationLa
Android only. OrientationLA of the iProov capture.

Constants

androidOnly → const PlatformOnly
The property is applied only by the Android CertifaceSDK.
iosOnly → const PlatformOnly
The property is applied only by the iOS CertifaceSDK.

Functions

colorToHex(Color color) → String
Serializes color as #AARRGGBB, the format both native sides parse.