LDPlayerDetectionMethod class
Detection method specifically designed to identify LDPlayer emulator.
This method uses a two-pronged approach to detect LDPlayer:
- File-based detection: Checks for LDPlayer-specific files and directories
- 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
-
- Object
- EmulatorDetectionMethod
- LDPlayerDetectionMethod
Constructors
- LDPlayerDetectionMethod({double score = 30, String? reason = "LDPlayer emulator detected"})
Properties
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