LDPlayerDetectionMethod class

Detection method specifically designed to identify LDPlayer emulator.

This method uses a two-pronged approach to detect LDPlayer:

  1. File-based detection: Checks for LDPlayer-specific files and directories
  2. Property-based detection: Examines device properties for LDPlayer signatures

File Detection:

  • LDPlayer library files (libldplayer*.so)
  • LDPlayer binaries (ldplayer, ldplayerd, ldplayerinit)
  • LDPlayer app directories and packages

Property Detection:

  • "changwan" in various device properties (LDPlayer manufacturer)
  • "ldplayer" in manufacturer, brand, model, device, product, fingerprint
  • Specific hardware identifiers (lkm, ttvm)
  • Known LDPlayer device models and manufacturers

Reliability: Very High (90-95%)

  • Comprehensive detection covering both files and properties
  • Low false positive rate due to specific LDPlayer signatures
  • Some advanced LDPlayer versions may hide these indicators

Score: 30 points when LDPlayer is detected

Performance: Asynchronous file operations to avoid blocking UI thread

Inheritance

Constructors

LDPlayerDetectionMethod({double score = 30, String? reason = "LDPlayer emulator detected"})

Properties

hashCode int
The hash code for this object.
no setterinherited
reason String?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score double
finalinherited

Methods

execute() Future<({String? reason, double score})>
Executes the method and returns a score between 0 and 100
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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