Interface QtQmlStatusChangeListener


public interface QtQmlStatusChangeListener
A callback that notifies clients about the status of QML component loading.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Called on the Android UI thread when the QML component status has changed.
    default void
    Called on the Android UI thread when the QML component status has changed.
  • Method Details

    • onStatusChanged

      default void onStatusChanged(QtQmlStatus status)
      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

      default void onStatusChanged(QtQmlStatus status, QtQuickViewContent content)
      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, content cannot be null.