HardwareX86Method class
Detection method that checks for x86-based hardware indicators.
This method examines the device's hardware property for x86 architecture and virtualization indicators that are commonly found in emulators:
- "goldfish" (Android emulator hardware)
- "ranchu" (Android emulator hardware)
- "x86" (x86 architecture, common in emulators)
- "vbox" (VirtualBox virtualization)
Reliability: High (85-95%)
- Very reliable for detecting x86-based emulators
- Low false positive rate as these are specific emulator signatures
- Some physical devices may use x86 architecture but rarely with these specific strings
Score: 20 points when x86/virtualization hardware is detected
Performance: Fast - only checks string property
- Inheritance
-
- Object
- EmulatorDetectionMethod
- HardwareX86Method
Constructors
- HardwareX86Method.new({double score = 20, String? reason = "Hardware indicates emulator"})
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