Jump to content

Qt for HarmonyOS/qtohosextras doc/PathPolicyCheckResult Class

From Qt Wiki
Revision as of 07:58, 28 January 2026 by Kiki.ji (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

PathPolicyCheckResult Class

(QtOhosExtras::FileShare::PathPolicyCheckResult)

The PathPolicyCheckResult struct contains the result of a file permission check request for a specified path, indicating whether access is granted or denied. More...

Header: #include <PathPolicyCheckResult>
qmake: QT += ohosextras
Since: Qt 5.12.12

Public Variables

QtOhosExtras::FileShare::PathPolicy policy
bool result


Detailed Description

The PathPolicyCheckResult struct contains the result of a file permission check request for a specified path, indicating whether access is granted or denied.

Member Variable Documentation

QtOhosExtras::FileShare::PathPolicy PathPolicyCheckResult::policy

This variable holds the requested path and the corresponding operation mode information.

See also PathPolicy.

bool PathPolicyCheckResult::result

This variable holds the outcome of the permission check for the requested path and operation mode.