ScreenSecurityKitPlatform class abstract
Abstract platform interface for the screen security plugin.
Platform-specific implementations should extend this class to provide native functionality for screen capture control and screenshot detection.
- Inheritance
-
- Object
- PlatformInterface
- ScreenSecurityKitPlatform
- Implementers
Constructors
- ScreenSecurityKitPlatform()
- Ensures this class can’t be directly implemented externally.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onScreenshotTaken
→ Stream<
void> -
Stream that emits an event whenever a screenshot is detected (iOS only).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
disableScreenCapture(
) → Future< void> - Disables screen capture (screenshots and recordings) on supported platforms.
-
enableScreenCapture(
) → Future< void> - Enables screen capture again on supported platforms.
-
initialize(
) → Future< void> - Initializes the plugin and sets up any required native event listeners.
-
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
Static Properties
- instance ↔ ScreenSecurityKitPlatform
-
The default instance of ScreenSecurityKitPlatform to use.
getter/setter pair