KeyriDetectionsConfig constructor

KeyriDetectionsConfig({
  1. bool? blockEmulatorDetection,
  2. bool? blockRootDetection,
  3. bool? blockDangerousAppsDetection,
  4. bool? blockTamperDetection,
  5. bool? blockSwizzleDetection,
})

Implementation

KeyriDetectionsConfig(
    {bool? blockEmulatorDetection,
    bool? blockRootDetection,
    bool? blockDangerousAppsDetection,
    bool? blockTamperDetection,
    bool? blockSwizzleDetection}) {
  this.blockEmulatorDetection = blockEmulatorDetection ?? true;
  this.blockRootDetection = blockRootDetection ?? false;
  this.blockDangerousAppsDetection = blockDangerousAppsDetection ?? false;
  this.blockTamperDetection = blockTamperDetection ?? true;
  this.blockSwizzleDetection = blockSwizzleDetection ?? false;
}