public final class Recording implements AutoCloseable


A recording started with RecorderCommands.start. This interface allows awaits for completion, if a time limit was specified or force stop the recording.

Summary

Public methods

void

Stops the current recording.

final boolean

Returns whether the recording is still running.

Public methods

close

Added in 2.4.0-beta01
public void close()

Stops the current recording.

Waits for up to 10 seconds for the recorder process to stop.

isRunning

Added in 2.4.0-beta01
public final boolean isRunning()

Returns whether the recording is still running.