RecorderInfo

The information about the file that is recorded.

public class RecorderInfo {
  public String fileName;
  public int durationMs;
  public int fileSize;

  @CalledByNative
  public RecorderInfo(String fileName, int durationMs, int fileSize) {
    this.fileName = fileName;
    this.durationMs = durationMs;
    this.fileSize = fileSize;
  }
}

Attributes

filename
The absolute path of the recording file.
durationMs
The recording duration (ms).
fileSize
The size (bytes) of the recording file.