QCameraPermission#
Access the camera for taking pictures or videos. More…
New in version 6.5.
Synopsis#
Functions#
def
swap
(other)
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
Requirements#
To request this permission at runtime, the following platform specific usage declarations have to be made at build time:
Platform
Type
Apple
Usage description
NSCameraUsageDescription
Android
uses-permission
:ref:` <Application-Permissions>`
android.permission.CAMERA
Please see the individual usage declaration types for how to add them to your project.
See also
QPermission
requestPermission()
checkPermission()
Application Permissions
- class PySide6.QtCore.QCameraPermission#
PySide6.QtCore.QCameraPermission(other)
- Parameters:
other –
PySide6.QtCore.QCameraPermission
- PySide6.QtCore.QCameraPermission.swap(other)#
- Parameters:
other –
PySide6.QtCore.QCameraPermission