Jump to content

Qt for HarmonyOS/qtohosextras doc/PathPolicyCheckResult Class

From Qt Wiki
Revision as of 08:14, 16 September 2026 by Shawn Luo (talk | contribs) (Update from qdoc output (QTFOROH-2307))

< Qt for HarmonyOS / qtohosextras doc

PathPolicyCheckResult Struct

struct 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

This struct was introduced in Qt 5.12.12.

Public Variables

PathPolicy policy
bool result

Detailed Description

Member Variable Documentation

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.