References

CafFilterStyle

Field
Description

natural

The original captured selfie.

lineDrawing

A line drawing filter applied to the captured selfie.

CafFaceLivenessSettings

Field
Description

faceLivenessToken

Usage token associated with your CAF account.

useLoadingScreen

Boolean value to enable or disable the loading screen.

filter

Filter style to apply to the captured selfie.

CafSmartAuthError

The CafSmartAuthError enum represents various types of errors that may occur in the SDK:

Error
Description

PermissionReason

Some mandatory permission is missing.

AvailabilityReason

CafSmartAuth is not available for use.

NetworkReason

Internet connection failure.

ServerReason

When a request receives a failure status code.

SecurityReason

The SDK cannot be started due to a security-related issue.

StorageReason

There is insufficient space in the internal storage of the user's device.

LibraryReason

An internal library required by the SDK cannot be started.

PolicyReason

A policy being used is not supported by the SDK.

GetLocationReason

Error retrieving the user's location.

TerminateByUser

Process was terminated by the user.

This section provides a reference to the main configurable properties and potential errors for the CafSmartAuth SDK on iOS.

Last updated

Logo

2023 © Caf. - All rights reserved