Jump to content

Qt for HarmonyOS/qtohosextras doc/PathPolicyErrorInfo Class

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

PathPolicyErrorInfo Class

(QtOhosExtras::FileShare::PathPolicyErrorInfo)

The PathPolicyErrorInfo struct contains the result of a file access permission request for a specified path. More...

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

Public Variables

QtOhosExtras::FileShare::PathPolicyError error
QString errorMessage
QString path

Detailed Description

The PathPolicyErrorInfo struct contains the result of a file access permission request for a specified path.


See also ActionResult.

Member Variable Documentation

QtOhosExtras::FileShare::PathPolicyError PathPolicyErrorInfo::error

This variable holds the error code indicating the result of the file access permission request.

See also PathPolicyError.

QString PathPolicyErrorInfo::errorMessage

Detailed error message.

QString PathPolicyErrorInfo::path

This variable holds the path for which access permission was requested.