ContactsPermission QML Type

Access to the user's contacts. 更多...

导入语句: import QtCore
Since: Qt 6.6

特性

方法

详细描述

This type represents a QContactsPermission , and can be used to check the status of and request access to the user's contacts.

QContactsPermission for documentation of the individual properties and detailed usage requirements.

另请参阅 QML Application Permissions , 应用程序权限 ,和 QContactsPermission .

特性文档编制

status : Qt::PermissionStatus

This property holds the current status of the permission.

另请参阅 QCoreApplication::checkPermission .


方法文档编制

request ()

Requests the permission with its current properties.

另请参阅 QCoreApplication::requestPermission .