QNativeInterface::QAndroidScreen Struct | Qt GUI | Qt 6.11.1
Description: Native interface to a screen.

- Qt 6.11
- Qt GUI
- C++ Classes
- QAndroidScreen
- Qt 6.11.1 Reference Documentation

# QNativeInterface::QAndroidScreen Struct

Native interface to a screen. More...

Header: | `#include <QAndroidScreen>`
CMake: | `find_package(Qt6 REQUIRED COMPONENTS Gui)` `target_link_libraries(mytarget PRIVATE Qt6::Gui)`
qmake: | `QT += gui`
Since: | Qt 6.7

- List of all members, including inherited members
- QAndroidScreen is part of Native Interfaces.

## Public Functions

virtual int | displayId() const = 0

## Detailed Description

Accessed through QScreen::nativeInterface().

## Member Function Documentation

### `[pure virtual]` int QAndroidScreen::displayId() const

Returns the id of the underlying Android display.