Enum QAudio.Role

java.lang.Object
java.lang.Enum<QAudio.Role>
io.qt.multimedia.QAudio.Role
All Implemented Interfaces:
QtAbstractEnumerator, QtEnumerator, Serializable, Comparable<QAudio.Role>, Constable
Enclosing class:
QAudio

public static enum QAudio.Role extends Enum<QAudio.Role> implements QtEnumerator

Java wrapper for Qt enum QAudio::Role

  • Enum Constant Details

    • UnknownRole

      public static final QAudio.Role UnknownRole
    • MusicRole

      public static final QAudio.Role MusicRole
    • VideoRole

      public static final QAudio.Role VideoRole
    • VoiceCommunicationRole

      public static final QAudio.Role VoiceCommunicationRole
    • AlarmRole

      public static final QAudio.Role AlarmRole
    • NotificationRole

      public static final QAudio.Role NotificationRole
    • RingtoneRole

      public static final QAudio.Role RingtoneRole
    • AccessibilityRole

      public static final QAudio.Role AccessibilityRole
    • SonificationRole

      public static final QAudio.Role SonificationRole
    • GameRole

      public static final QAudio.Role GameRole
    • CustomRole

      public static final QAudio.Role CustomRole
  • Method Details

    • values

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

      public static QAudio.Role valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public int value()
      This function should return an integer value for the enum values of the enumeration that implements this interface.
      Specified by:
      value in interface QtEnumerator
    • resolve

      public static QAudio.Role resolve(int value)
      Returns the corresponding enum entry for the given value.
      Parameters:
      value -
      Returns:
      enum entry