Jump to content

Qt for HarmonyOS/qtohosextras doc/PathPolicyCheckResult Class

From Qt Wiki
Revision as of 06:05, 17 September 2026 by Shawn Luo (talk | contribs) (Drop manual breadcrumb, MediaWiki renders it automatically (QTFOROH-2307))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.