Interface QtQmlStatusChangeListener
public interface QtQmlStatusChangeListener
A callback that notifies clients about the status of QML component loading.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidonStatusChanged(QtQmlStatus status) Called on the Android UI thread when the QML component status has changed.default voidonStatusChanged(QtQmlStatus status, QtQuickViewContent content) Called on the Android UI thread when the QML component status has changed.
-
Method Details
-
onStatusChanged
Called on the Android UI thread when the QML component status has changed.- Parameters:
status- The current status. The status can be QtQmlStatus.NULL, QtQmlStatus.READY, QtQmlStatus.LOADING, or QtQmlStatus.ERROR.
-
onStatusChanged
Called on the Android UI thread when the QML component status has changed. This is called only when a QtQuickViewContent is loaded using QtQuickView.loadContent().- Parameters:
status- The current status. The status can be QtQmlStatus.NULL, QtQmlStatus.READY, QtQmlStatus.LOADING, or QtQmlStatus.ERROR.content- The content of the Qt Quick view,contentcannot be null.
-