Enum Call.Score

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Call.Score>
    Enclosing class:
    Call

    public static enum Call.Score
    extends java.lang.Enum<Call.Score>
    An enum representing call quality score.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      FIVE
      Great call quality.
      FOUR
      Good call quality, minor issues.
      NOT_REPORTED
      No score reported.
      ONE
      Terrible call quality, call dropped, or caused great difficulty in communicating.
      THREE
      Average call quality, manageable with some noise/minor packet loss.
      TWO
      Bad call quality, like choppy audio, periodic one-way-audio.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getValue()  
      static Call.Score valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Call.Score[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • NOT_REPORTED

        public static final Call.Score NOT_REPORTED
        No score reported.
      • ONE

        public static final Call.Score ONE
        Terrible call quality, call dropped, or caused great difficulty in communicating.
      • TWO

        public static final Call.Score TWO
        Bad call quality, like choppy audio, periodic one-way-audio.
      • THREE

        public static final Call.Score THREE
        Average call quality, manageable with some noise/minor packet loss.
      • FOUR

        public static final Call.Score FOUR
        Good call quality, minor issues.
      • FIVE

        public static final Call.Score FIVE
        Great call quality. No issues.
    • Method Detail

      • values

        public static Call.Score[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Call.Score c : Call.Score.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Call.Score valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public int getValue()