QAndroidJniExceptionCleaner 类

头: #include <QAndroidJniExceptionCleaner>
qmake: QT += androidextras
Since: Qt 5.10

公共类型

enum OutputMode { Silent, Verbose }

公共函数

QAndroidJniExceptionCleaner (QAndroidJniExceptionCleaner::OutputMode outputMode = ...)
~QAndroidJniExceptionCleaner ()
void clean ()

详细描述

The QAndroidJniExceptionCleaner is a convenience class useful to clean the pending JNI exceptions from the current scope.

成员类型文档编制

enum QAndroidJniExceptionCleaner:: OutputMode

常量 描述
QAndroidJniExceptionCleaner::Silent 0 the exceptions are cleaned silently
QAndroidJniExceptionCleaner::Verbose 1 discribes the exceptions before cleaning them

成员函数文档编制

QAndroidJniExceptionCleaner:: QAndroidJniExceptionCleaner ( QAndroidJniExceptionCleaner::OutputMode outputMode = ...)

Cleans any pending exceptions either silently or with descriptions, depending on the outputMode .

QAndroidJniExceptionCleaner:: ~QAndroidJniExceptionCleaner ()

清理任何待决异常。

void QAndroidJniExceptionCleaner:: clean ()

手动清理任何待决异常