SdkConfig class

Configuration for Face Detection SDK

Constructors

SdkConfig({required String accessToken, String? baseUrl, String? language, bool? useNative = true, String? jwtSecretKey, String? jwtPublicKey, String? privacyPolicyUrl, String? clientCertificateBase64, String? clientCertificatePassword, bool? enableMutualSSL = false, ResultFormat resultFormat = ResultFormat.flat, UiConfig? uiConfig, CameraShape? cameraShape, String? logoImageBase64})

Properties

accessToken String
Access token for API authentication
final
baseUrl String?
Base URL for the backend service
final
cameraShape CameraShape?
Camera shape for face detection overlay
final
clientCertificateBase64 String?
Client certificate data for mTLS (Base64 encoded P12)
final
clientCertificatePassword String?
Client certificate password for mTLS
final
enableMutualSSL bool?
Enable mutual SSL authentication
final
hashCode int
The hash code for this object.
no setterinherited
jwtPublicKey String?
RSA public key (Base64) for JWT validation
final
jwtSecretKey String?
HMAC secret key for JWT validation
final
language String?
UI language (en, ru, uz)
final
logoImageBase64 String?
Logo image bytes to display in the SDK (Base64 encoded)
final
privacyPolicyUrl String?
Custom privacy policy URL
final
resultFormat ResultFormat
Result format type
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uiConfig UiConfig?
UI customization configuration
final
useNative bool?
Include native=1 URL parameter
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited