SimctlRecorder class
Records the iOS Simulator with xcrun simctl io recordVideo.
- Inheritance
-
- Object
- LiveRecorder
- SimctlRecorder
Constructors
- SimctlRecorder(LiveProcesses processes, {required String xcrun, required String udid})
-
Creates a SimctlRecorder for the simulator
udid.
Properties
- 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 setteroverride
- 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
- udid → String
-
The simulator's UDID.
final
- xcrun → String
-
The path of
xcrun.final
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.
override
-
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