ScreenCaptureUtils class

Constructors

ScreenCaptureUtils({required void onScreenCaptured(String?), required void oniOSScreenCaptured(bool), required void guardingStatus(bool), void onScreenCapturedWithDeniedPermission()?})

Properties

guardingStatus → void Function(bool)
Callback for screen guarding status
final
hashCode int
The hash code for this object.
no setterinherited
oniOSScreenCaptured → void Function(bool)
On Screen Captured Callback
final
onScreenCaptured → void Function(String?)
final
onScreenCapturedWithDeniedPermission → (void Function()?)
On Screen Captured With Denied Permission (Android Only)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

guard() → void
Guards the screen from screen capture (Android only)
intialize() → void
Initialize plugin
methodCallHandler(MethodCall call) Future<void>
Handle method calls for screen capture utils callbacks
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
unGuard() → void
Removes guard screen from screen capture (Android only)

Operators

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