Jump to content

Qt for HarmonyOS/qtohosextras doc/PathPolicyCheckResult Class

From Qt Wiki
Revision as of 06:58, 28 January 2026 by Shawn Luo (talk | contribs) (Created page with "<!-- Source: qtohosextras-fileshare-pathpolicycheckresult.html --> <span id="pathpolicycheckresult-class"></span> = PathPolicyCheckResult Class = <span class="small-subtitle">(QtOhosExtras::FileShare::PathPolicyCheckResult)<br /> </span> The PathPolicyCheckResult struct contains the result of a file permission check request for a specified...")
(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
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.