AgoraFocalLengthInfo
摄像头支持的焦距信息,包含摄像头的方向以及焦距类型。
Java
public class AgoraFocalLengthInfo {
public int cameraDirection;
public int focalLengthType;
@CalledByNative
public AgoraFocalLengthInfo(int cameraDirection, int focalLengthType) {
this.cameraDirection = cameraDirection;
this.focalLengthType = focalLengthType;
}
@Override
public String toString() {
return "AgoraFocalLengthInfo{" +
"cameraDirection=" + cameraDirection +
", focalLengthType=" + focalLengthType +
'}';
}
}
自从
v4.3.1
cameraDirection
摄像头方向。详见 CAMERA_DIRECTION。
focalLengthType
焦距类型。详见 CAMERA_FOCAL_LENGTH_TYPE。