NoScreenshotPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • NoScreenshotPlatform
Implementers

Constructors

NoScreenshotPlatform()
Constructs a NoScreenshotPlatform.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
screenshotStream → Stream<ScreenshotSnapshot>
Stream to screenshot activities ScreenshotSnapshot This stream will emit a ScreenshotSnapshot whenever a screenshot is taken. The ScreenshotSnapshot contains the path to the screenshot file. throw UnmimplementedError if not implement
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
overlayOff() → Future<bool>
Always disables any active overlay mode — image, blur, or color — and releases its prevention claim (idempotent — safe to call repeatedly).
screenshotOff() → Future<bool>
Return true if screenshot capabilities has been successfully disabled or is currently disabled and false otherwise. throw UnmimplementedError if not implement
screenshotOn() → Future<bool>
Return true if screenshot capabilities has been successfully enabled or is currently enabled and false otherwise. throw UnmimplementedError if not implement
screenshotWithBlur({double blurRadius = 30.0}) → Future<bool>
Always enables blur overlay mode (idempotent — safe to call repeatedly).
screenshotWithColor({int color = 0xFF000000}) → Future<bool>
Always enables color overlay mode (idempotent — safe to call repeatedly).
screenshotWithImage() → Future<bool>
Always enables image overlay mode (idempotent — safe to call repeatedly).
startScreenRecordingListening() → Future<void>
Start listening to screen recording activities
startScreenshotListening() → Future<void>
stopScreenRecordingListening() → Future<void>
Stop listening to screen recording activities
stopScreenshotListening() → Future<void>
Stop listening to screenshot activities
toggleScreenshot() → Future<bool>
Return true if screenshot capabilities has been successfully toggle from it previous state and false if the attempt to toggle failed. throw UnmimplementedError if not implement
toggleScreenshotWithBlur({double blurRadius = 30.0}) → Future<bool>
toggleScreenshotWithColor({int color = 0xFF000000}) → Future<bool>
toggleScreenshotWithImage() → Future<bool>
Return true if screenshot capabilities has been successfully enabled or is currently enabled and false otherwise. throw UnmimplementedError if not implement
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ↔ NoScreenshotPlatform
The default instance of NoScreenshotPlatform to use.
getter/setter pair