onHookingDetected
boolean onHookingDetected()
Invoked when protected APIs are being detected as hooked. Return 'true' or 'false' to decide
if application wish to continue with the execution. The return should be invoked immediately
to avoid having sensitive data in memory for long duration for the underlying processes.
By using this option, it potentially opens one attack point, this class must be properly obfuscated.
- Returns:
- boolean
true if application wish to continue with the execution.
false if application wish to abort. For versions below 4.6,
IdpHookingException
will be thrown.
This is a runtime exception.
- Since:
- 4.4