ScrcpyRecorder class
Records Android with scrcpy, which has no time limit and records the
app's sound on Android 11 and later.
- Inheritance
-
- Object
- LiveRecorder
- ScrcpyRecorder
Constructors
- ScrcpyRecorder(LiveProcesses processes, {required String scrcpy, required String adb, required String serial})
-
Creates a ScrcpyRecorder for the device
serial.
Properties
- adb → String
-
The path of
adb.finalinherited - extension → String
-
The extension of the file the recorder writes, e.g.
.mov.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The device's id: a simulator UDID or an adb serial.
no setterinherited
- limit → Duration?
-
How long the recorder can record, or null when there's no limit.
no setterinherited
- processes → LiveProcesses
-
Runs the recording programs.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrcpy → String
-
The path of
scrcpy.final - serial → String
-
The device's adb serial.
finalinherited
Methods
-
cleanStatusBar(
) → Future< Future< void> Function()> -
Shows a clean status bar (9:41, full battery and signal), and returns
how to put the old one back.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
String file) → Future< void> -
Starts recording into
file, and completes once it's recording.override -
stop(
) → Future< void> -
Stops recording, and completes once the file has been written.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited