AndroidCallback class
A class for Android callbacks.
When threat is detected, callback is called according to its type.
Callbacks (pointers) are called in talsec_config.
Constructors
- AndroidCallback({VoidCallback? onRootDetected, VoidCallback? onEmulatorDetected, VoidCallback? onTamperDetected, VoidCallback? onHookDetected, VoidCallback? onDeviceBindingDetected, VoidCallback? onUntrustedInstallationDetected})
-
Constructor for Android callbacks.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onDeviceBindingDetected → VoidCallback?
-
Callback called when binding of device is disrupted.
final
- onEmulatorDetected → VoidCallback?
-
Callback called when app is running on emulator.
final
- onHookDetected → VoidCallback?
-
Callback called when hooking framework is present or used.
final
- onRootDetected → VoidCallback?
-
Callback called when device is rooted.
final
- onTamperDetected → VoidCallback?
-
Callback called when app code integrity is disturbed.
final
- onUntrustedInstallationDetected → VoidCallback?
-
Callback called when application is installed from unrecognised source
such as unofficial store or other not explicitly allow source.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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