RecorderInfo
录制文件信息。
Java
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;
}
}
fileName
录制文件的绝对存储路径。
durationMs
录制文件的时长,单位为毫秒。
fileSize
录制文件的大小,单位为字节。