Agora Java API Reference for Android

Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.video.CameraCapturerConfiguration.CAMERA_DIRECTION Enum Reference

## Public Member Functions
int | getValue ()

## Public Attributes
| CAMERA_REAR =(0)
| CAMERA_FRONT =(1)
| CAMERA_EXTRA =(2)

## Detailed Description

Sets the camera direction.

## Member Data Documentation

## ◆ CAMERA_REAR

io.agora.rtc2.video.CameraCapturerConfiguration.CAMERA_DIRECTION.CAMERA_REAR =(0)

0: Uses the rear camera.

## ◆ CAMERA_FRONT

io.agora.rtc2.video.CameraCapturerConfiguration.CAMERA_DIRECTION.CAMERA_FRONT =(1)

1: Uses the front camera.

## ◆ CAMERA_EXTRA

io.agora.rtc2.video.CameraCapturerConfiguration.CAMERA_DIRECTION.CAMERA_EXTRA =(2)

2: Uses the extra camera.