TapjackSnapshot class

A snapshot of the current tapjacking/overlay state.

Emitted through NoTapjack.tapjackStream whenever the overlay state changes.

Constructors

TapjackSnapshot({required bool isOverlayDetected, bool isPartialOverlay = false, bool isTouchFilterEnabled = false})
Creates a TapjackSnapshot with the given overlay state.
TapjackSnapshot.fromMap(Map<String, dynamic> map)
Creates a TapjackSnapshot from a platform channel map.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
isOverlayDetected bool
Whether any overlay is currently detected on top of the app.
final
isPartialOverlay bool
Whether a partial overlay is detected (Android 29+ only).
final
isTouchFilterEnabled bool
Whether filterTouchesWhenObscured is currently active.
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
toMap() Map<String, dynamic>
Converts this snapshot to a map matching the platform channel format.
toString() String
A string representation of this object.
override

Operators

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