- Qt 6.12
- Qt GUI
- C++ Classes
- QAndroidScreen
- Qt 6.12.0 Reference Documentation

# QNativeInterface::QAndroidScreen Struct

Native interface to a screen. More...

Header: | `#include <qscreen_platform.h>`
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

| QAndroidScreen()
| QAndroidScreen(const QNativeInterface::QAndroidScreen &)
| QAndroidScreen(QNativeInterface::QAndroidScreen &&)
virtual int | displayId() const = 0
QNativeInterface::QAndroidScreen & | operator=(QNativeInterface::QAndroidScreen &&)
QNativeInterface::QAndroidScreen & | operator=(const QNativeInterface::QAndroidScreen &)

## Detailed Description

Accessed through QScreen::nativeInterface().

## Member Function Documentation

### `[constexpr noexcept default]` QAndroidScreen::QAndroidScreen()

Default-constructs an instance of QAndroidScreen.

### `[delete]` QAndroidScreen::QAndroidScreen(const QNativeInterface::QAndroidScreen &)

Copy-constructs an instance of QAndroidScreen. This function is deleted.

### `[delete]` QAndroidScreen::QAndroidScreen(QNativeInterface::QAndroidScreen &&)

Move-constructs an instance of QAndroidScreen. This function is deleted.

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

Returns the id of the underlying Android display.

### `[delete]` QNativeInterface::QAndroidScreen &QAndroidScreen::operator=(QNativeInterface::QAndroidScreen &&)

Move-assigns other to this QAndroidScreen instance. This function is deleted.

### `[delete]` QNativeInterface::QAndroidScreen &QAndroidScreen::operator=(const QNativeInterface::QAndroidScreen &)

Copy-assigns other to this QAndroidScreen instance. This function is deleted.