清理待决 JNI 异常。 更多...
头: | #include <QAndroidJniExceptionCleaner> |
qmake: | QT += androidextras |
Since: | Qt 5.10 |
该类在 Qt 5.10 引入。
enum class | OutputMode { Silent, Verbose } |
QAndroidJniExceptionCleaner (QAndroidJniExceptionCleaner::OutputMode outputMode = OutputMode::Silent) | |
~QAndroidJniExceptionCleaner () | |
void | clean () |
The QAndroidJniExceptionCleaner is a convenience class useful to clean the pending JNI exceptions from the current scope.
常量 | 值 | 描述 |
---|---|---|
QAndroidJniExceptionCleaner::OutputMode::Silent
|
0
|
the exceptions are cleaned silently |
QAndroidJniExceptionCleaner::OutputMode::Verbose
|
1
|
discribes the exceptions before cleaning them |
Cleans any pending exceptions either silently or with descriptions, depending on the outputMode .
清理任何待决异常。
手动清理任何待决异常