EnvironmentHostApi class
Fraud-environment checks (Android; iOS reports unsupported).
Constructors
- EnvironmentHostApi({BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''})
-
Constructor for EnvironmentHostApi. The
binaryMessengernamed argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pigeonVar_binaryMessenger → BinaryMessenger?
-
final
- pigeonVar_messageChannelSuffix → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
appCloning(
) → Future< CheckReportMsg> - The app running in a cloned / dual-app space or a work profile.
-
keyboard(
) → Future< CheckReportMsg> - The default keyboard, when it's a third-party app.
-
locationSpoofing(
) → Future< CheckReportMsg> - Mock-location apps and spoofed location fixes.
-
mitm(
) → Future< CheckReportMsg> - User-installed CA certificates that allow HTTPS interception.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remoteAccess(
) → Future< CheckReportMsg> - Remote-control apps installed or able to control the device.
-
setBlockCustomKeyboards(
bool block) → Future< void> - (iOS) Whether third-party keyboard extensions should be refused. Stored, so it applies from the next launch's first keyboard; the app's AppDelegate consults it. No-op on Android.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
pigeonChannelCodec
→ const MessageCodec<
Object?>