ProtectAppPlatform class abstract

Abstract class defining the interface for the ProtectApp platform. This class serves as a bridge between the platform-specific implementation and the Flutter app.

Inheritance
  • Object
  • PlatformInterface
  • ProtectAppPlatform
Implementers

Constructors

ProtectAppPlatform.new()
Constructor for the ProtectAppPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkIsTheDeveloperModeOn() Future<bool?>
Method to check if the developer mode is enabled on the device. Throws UnimplementedError if not overridden by a platform-specific implementation.
dataOfCurrentProxy() Future<Map?>
Method to retrieve data about the current proxy configuration. Throws UnimplementedError if not overridden by a platform-specific implementation.
isDeviceUseVPN() Future<bool?>
Method to check if the device is using a VPN. Throws UnimplementedError if not overridden by a platform-specific implementation.
isItRealDevice() Future<bool?>
Method to check if the device is real. Throws UnimplementedError if not overridden by a platform-specific implementation.
isUseJailBrokenOrRoot() Future<bool?>
Method to check if the device is jailbroken or rooted. Throws UnimplementedError if not overridden by a platform-specific implementation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
turnOffScreenshots() Future<void>
Method to disable screenshots on the device. Throws UnimplementedError if not overridden by a platform-specific implementation.

Operators

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

Static Properties

instance ProtectAppPlatform
Getter for the singleton instance.
getter/setter pair