Jump to content

Qt for HarmonyOS/qtohosextras doc/PathPolicyErrorInfo Class

From Qt Wiki

PathPolicyErrorInfo Struct

struct 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

This struct was introduced in Qt 5.12.12.

Public Variables

PathPolicyError error
QString errorMessage
QString path

Detailed Description

See also ActionResult.

Member Variable Documentation

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.