Agora Java API Reference for Android

Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.video.AgoraFocalLengthInfo Class Reference

## Public Member Functions
| AgoraFocalLengthInfo (int cameraDirection, int focalLengthType)
String | toString ()

## Public Attributes
int | cameraDirection
int | focalLengthType

## Detailed Description

The definition of AgoraFocalLengthInfo.

## Member Data Documentation

## ◆ cameraDirection

int io.agora.rtc2.video.AgoraFocalLengthInfo.cameraDirection

Camera orientation, front or back. 0: rear camera, 1: front camera.

## ◆ focalLengthType

int io.agora.rtc2.video.AgoraFocalLengthInfo.focalLengthType

The focal length of the camera. 0: By default, 1: wide angle, 2: urltra wide.