清理待决 JNI 异常。 更多...
| 头: | #include <QAndroidJniExceptionCleaner> |
| qmake: | QT += androidextras |
| Since: | Qt 5.10 |
该类在 Qt 5.10 引入。
| 枚举类 | OutputMode { Silent, Verbose } |
| QAndroidJniExceptionCleaner (QAndroidJniExceptionCleaner::OutputMode outputMode = OutputMode::Silent) | |
| ~QAndroidJniExceptionCleaner () | |
| void | clean () |
QAndroidJniExceptionCleaner 是用于清零,来自当前作用域的待决 JNI 异常的方便类。
| 常量 | 值 | 描述 |
|---|---|---|
QAndroidJniExceptionCleaner::OutputMode::Silent
|
0
|
the exceptions are cleaned silently |
QAndroidJniExceptionCleaner::OutputMode::Verbose
|
1
|
discribes the exceptions before cleaning them |
要么静默,要么按描述清理任何待决异常,从属 outputMode .
清理任何待决异常。
手动清理任何待决异常