# AgoraSnapshotConfig (/zh-CN/api-reference/rtc/ios/class-snapshotconfig)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="class_snapshotconfig__prototype"></a>

```objc
__attribute__((visibility("default"))) @interface AgoraSnapshotConfig: NSObject
@property (copy, nonatomic) NSString * _Nullable filePath;
@property(assign, nonatomic) AgoraVideoModulePosition position;
@end
```

<a id="class_snapshotconfig__parameters"></a>

## 属性 [#属性]

<ParameterList>
<a id="filepath"></a>
<Parameter name="filePath">

截图的本地路径（包含文件扩展名）。例如：iOS：`/App Sandbox/Library/Caches/example.jpg`。

:::note
注： 请确保指定的路径存在且可写。
:::

</Parameter>
<a id="position"></a>
<Parameter name="position">

截图视频帧在视频处理流程中的位置，详见 [AgoraVideoModulePosition](/zh-CN/api-reference/rtc/ios/enum-videomoduleposition)。

</Parameter>
</ParameterList>
