NoTapjackPlatform class abstract

Platform interface for the no_tapjack plugin.

Platform-specific implementations should extend this class and override all methods. See MethodChannelNoTapjack for the default Android/iOS implementation.

Inheritance
  • Object
  • PlatformInterface
  • NoTapjackPlatform
Implementers

Constructors

NoTapjackPlatform()
Constructs a NoTapjackPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tapjackStream Stream<TapjackSnapshot>
Stream of TapjackSnapshot events reflecting overlay state changes.
no setter

Methods

disableFilterTouches() Future<bool>
Disables filterTouchesWhenObscured, re-allowing touches while the window is obscured.
enableFilterTouches() Future<bool>
Enables filterTouchesWhenObscured so Android discards touches while the window is obscured.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startListening() Future<void>
Starts monitoring for overlay attacks.
stopListening() Future<void>
Stops monitoring for overlay attacks.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance NoTapjackPlatform
The current platform-specific instance.
getter/setter pair