Qt for HarmonyOS/qtohosextras doc/ActionResult Class
ActionResult Class
class QtOhosExtras::FileShare::ActionResult
The ActionResult class encapsulates the result of all file requested access permission actions. More...
| Header: | #include <ActionResult> |
| qmake: | QT += ohosextras |
| Since: | Qt 5.12.12 |
This class was introduced in Qt 5.12.12.
Public Functions
| virtual QList<PathPolicyErrorInfo> | errorInfoList() const = 0 |
| virtual QSharedPointer<QOhosOperationStatus> | operationStatus() const = 0 |
Detailed Description
It contains any errors that occurred during the execution of these actions.
See also persistPermission(), revokePermission(), activatePermission(), and deactivatePermission().
Member Function Documentation
[pure virtual] QList<PathPolicyErrorInfo> ActionResult::errorInfoList() const
Returns a list of errors for each file access action.
Each entry in the list corresponds to a specific file operation that encountered an error.
See also PathPolicyErrorInfo.
Returns the overall result of all requested file access permission actions.
See also QOhosOperationStatus.