Enum Class QtQmlStatus

java.lang.Object
java.lang.Enum<QtQmlStatus>
org.qtproject.qt.android.QtQmlStatus
All Implemented Interfaces:
Serializable, Comparable<QtQmlStatus>, Constable

public enum QtQmlStatus extends Enum<QtQmlStatus>
QtQmlStatus represents the QML component loading status.
  • Enum Constant Details

    • NULL

      public static final QtQmlStatus NULL
      Not loaded.
    • READY

      public static final QtQmlStatus READY
      Loaded and ready. Invoking methods that operate on a QML component would succeed only if the current status is ready.
    • LOADING

      public static final QtQmlStatus LOADING
      The QML component is getting loaded from network.
    • ERROR

      public static final QtQmlStatus ERROR
      One or more errors has occurred during loading the QML component.
  • Method Details

    • values

      public static QtQmlStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static QtQmlStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null