# CameraDirection (/zh-CN/api-reference/rtc/harmonyos/enum-cameradirection)

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

<a id="enum_cameradirection__parameters"></a>

## 枚举值 [#枚举值]

<ParameterList>
<a id="rear"></a>
<Parameter name="REAR">

0: 后置摄像头。

</Parameter>
<a id="front"></a>
<Parameter name="FRONT">

1: （默认）前置摄像头。

</Parameter>
<a id="extra"></a>
<Parameter name="EXTRA">

2: 外接摄像头。

</Parameter>
</ParameterList>
