SdkConfiguration constructor

SdkConfiguration({
  1. required String licenseKey,
  2. bool loggingEnabled = false,
  3. bool enableNativeLogging = false,
  4. String? storageBaseDirectory = null,
  5. int storageImageQuality = 80,
  6. StorageImageFormat storageImageFormat = StorageImageFormat.JPG,
  7. FileEncryptionMode? fileEncryptionMode = null,
  8. String? fileEncryptionPassword = null,
  9. bool performanceHintApi = true,
  10. bool allowGpuAcceleration = true,
  11. bool allowXnnpackAcceleration = true,
})

Implementation

SdkConfiguration({
  required this.licenseKey,
  this.loggingEnabled = false,
  this.enableNativeLogging = false,
  this.storageBaseDirectory = null,
  this.storageImageQuality = 80,
  this.storageImageFormat = StorageImageFormat.JPG,
  this.fileEncryptionMode = null,
  this.fileEncryptionPassword = null,
  this.performanceHintApi = true,
  this.allowGpuAcceleration = true,
  this.allowXnnpackAcceleration = true,
});