RecorderCommands


public final class RecorderCommands

Allows running the screen record android utility to record the screen.

Summary

Public methods

start

Added in 2.4.0
public final @NonNull Recordingstart(
 @NonNull File outputFile,
 int width,
 int height,
 @IntRange(from = 0) int bitRateMb
)

Starts the recording.

Parameters
@NonNull File outputFile

the output file where to write the recording.

int width

the width of the screen in pixels.

int height

the height of the screen in pixels.

@IntRange(from = 0) int bitRateMb

the bitrate of the recording in Mb/s.