As far as my research has gone, the answer is no. camera2 no call with camera2 API that can give you vertical and horizontal viewing angle.
However, you do not need to use the camera2 API to get these values. You can simply use the original camera API to get the vertical and horizontal viewing angle, and then use the camera2 API for the rest of the application.
As far as I know, the actual image firmware has not changed between the camera and camera2 API.
Cjen1 source share