Device Orientation Detection
The sap.ui.Device API provides developers with information about the device on which an SAP UI5 application is running, including its current orientation. Developers use this capability to detect whether a device is in portrait or landscape mode, enabling them to adapt the application's layout and behavior accordingly. For more details, see the Device API documentation.