MethodChannelMmDeviceSecurity class

Implementación real: Dart → MethodChannel → Kotlin / Swift.

El nombre del canal (mm_device_security) DEBE coincidir con el string que se usa en:

  • Android: MmDeviceSecurityPlugin.kt
  • iOS: MmDeviceSecurityPlugin.swift

Cada invokeMethod('nombre') dispara el when (call.method) nativo.

Inheritance

Properties

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

Methods

getPlatformVersion() → Future<String?>
override
getSecuritySummary() → Future<DeviceSecurityResult>
Método que debe usar el splash: trae todas las señales de una vez (y ya aplica la excepción de Firebase Test Lab en el nativo).
override
isDeveloperModeEnabled() → Future<bool>
override
isEmulator() → Future<bool>
override
isJailbroken() → Future<bool>
En iOS es jailbreak; en Android se reenvía al mismo chequeo de root.
override
isRooted() → Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
showBlockAlertAndExit({String? title, String? message}) → Future<void>
override
toString() → String
A string representation of this object.
inherited

Operators

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