azimuthDeg

Magnetic azimuth the camera faces, 0..360. Steeply down or up, the line of sight has no usable horizontal part, so the heading follows the screen's top edge instead, which faces the same way when the phone is tipped forward and the opposite way when it is tipped back.