# RecorderInfo (/zh-CN/api-reference/rtc/harmonyos/class-recorderinfo)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```ts
export class RecorderInfo {
public fileName: string;
public durationMs: number;
public fileSize: number;
public constructor(fileName: string, durationMs: number, fileSize: number) {
this.fileName = fileName;
this.durationMs = durationMs;
this.fileSize = fileSize;
}
}
```
##
录制文件的绝对存储路径。
录制文件的时长,单位为毫秒。
录制文件的大小,单位为字节。