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 = ...)

要麼靜默,要麼按描述清理任何待決異常,從屬 outputMode .

QAndroidJniExceptionCleaner:: ~QAndroidJniExceptionCleaner ()

清理任何待決異常。

void QAndroidJniExceptionCleaner:: clean ()

手動清理任何待決異常