Skip To Content ArcGIS for Developers Sign In Dashboard

DeviceOrientation Class

(Esri::ArcGISRuntime::DeviceOrientation)

Describes the rotation of the device. More...

Since: Esri::ArcGISRuntime 100.6

Detailed Description

Describes the rotation of the device.

Used to match the field of view of the SceneView to the field of view of a camera lens using the lens characteristics and orientation.

The DeviceOrientation can be one of:

ValueDescription
DeviceOrientation::Portrait (0)The device is in portrait mode, with the device held upright and the home button on the bottom.
DeviceOrientation::LandscapeLeft (1)The device is in landscape mode, with the device held sideways and the home button on the left side.
DeviceOrientation::ReversePortrait (2)The device is in portrait mode, with the device held upside down and the home button on the top.
DeviceOrientation::LandscapeRight (3)The device is in landscape mode, with the device held sideways and the home button on the right side.

Feedback on this topic?