ScreenCapture class
Sub-accessor for live screen-capture monitoring.
Properties
-
events
→ Stream<
ScreenCaptureEvent> -
All capture events (recording / mirroring changes and screenshots).
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onCaptureChanged
→ Stream<
bool> -
Emits
truewhen recording / mirroring starts andfalsewhen it stops.no setter -
onScreenshot
→ Stream<
void> -
Emits whenever the user takes a screenshot (iOS, Android 14+).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isCaptured(
) → Future< SecurityResult< bool> > - Whether the screen is being recorded or mirrored right now.
-
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