DeviceSafetyPlatform class final
Every platform entry point the package uses: the Pigeon host APIs, the live event streams and the native FFI checks. The default constructor uses the real ones; tests pass fakes (implement the generated API classes, or PlatformEvents / NativeChecksSource).
Constructors
- DeviceSafetyPlatform({RootHostApi? root, HookingHostApi? hooking, PostureHostApi? posture, BatchHostApi? batch, VpnHostApi? vpn, MalwareHostApi? malware, ScreenProtectionHostApi? screen, AppSwitcherHostApi? appSwitcher, ClipboardHostApi? clipboard, OverlayAttackHostApi? overlayAttack, CallHostApi? call, AppInfoHostApi? appInfo, IntegrityHostApi? integrity, EnvironmentHostApi? environment, DeviceKeyHostApi? deviceKey, BiometricHostApi? biometric, PlatformEvents? events, NativeChecksSource? ffi})
- Creates the bundle, using the real implementation for anything not given.
Properties
- appInfo → AppInfoHostApi
-
final
- appSwitcher → AppSwitcherHostApi
-
final
- batch → BatchHostApi
-
final
- biometric → BiometricHostApi
-
final
- call → CallHostApi
-
final
- clipboard → ClipboardHostApi
-
final
- deviceKey → DeviceKeyHostApi
-
final
- environment → EnvironmentHostApi
-
final
- events → PlatformEvents
-
final
- ffi → NativeChecksSource
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hooking → HookingHostApi
-
final
- integrity → IntegrityHostApi
-
final
- malware → MalwareHostApi
-
final
- overlayAttack → OverlayAttackHostApi
-
final
- posture → PostureHostApi
-
final
- root → RootHostApi
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screen → ScreenProtectionHostApi
-
final
- vpn → VpnHostApi
-
final
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