# SnapshotConfig (/zh-CN/api-reference/rtc/android/class-snapshotconfig)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```java
public class SnapshotConfig {
public String filePath = null;
public Constants.VideoModulePosition position = Constants.VideoModulePosition.VIDEO_MODULE_POSITION_PRE_ENCODER;
}
```
## 属性 [#属性]
截图文件的本地路径(包括文件扩展名)。例如:Android: `/storage/emulated/0/Android/data//files/example.jpg`。
:::note
注: 请确保指定路径存在且具有可写权限。
:::
截图视频帧在视频处理链中的位置,详见 [VideoModulePosition](/zh-CN/api-reference/rtc/android/enum-videomoduleposition)。具体取值取决于调用 `takeSnapshot` 或 `takeSnapshotEx` 时传入的 `uid`:
- `uid` 为 `0`:`position` 支持 `2`、`4` 和 `8`。
- `uid` 不为 `0`:`position` 仅支持 `2`。