Sur cette page

ContactsPermission QML Type

Accès aux contacts de l'utilisateur. Plus d'informations...

Import Statement: import QtCore
Since: Qt 6.6

Propriétés

  • status : Qt::PermissionStatus

Méthodes

Description détaillée

Ce type représente un QContactsPermission, et peut être utilisé pour vérifier l'état et demander l'accès aux contacts de l'utilisateur.

Voir QContactsPermission pour la documentation des propriétés individuelles et les conditions d'utilisation détaillées.

Voir également QML Application Permissions, Application Permissions et QContactsPermission.

Documentation des propriétés

status : Qt::PermissionStatus

Cette propriété contient le statut actuel de l'autorisation.

Voir aussi QCoreApplication::checkPermission.

Documentation de la méthode

void request()

Demande l'autorisation avec ses propriétés actuelles.

Voir aussi QCoreApplication::requestPermission().

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.