public enum NetworkQualityLevel extends Enum<NetworkQualityLevel>
Note that the Network Quality Level is not an absolute metric but a score relative to the demand being placed on the network. For example, the NQ score might be a 5 while on a good network and publishing only an AudioTrack. Later, if a HD VideoTrack is added, the score might come down to 2. This also means that when the network is not being used at all (i.e. the Client is neither publishing nor subscribing to any tracks) the Network Quality Level will always be 5 given that any network will be capable of complying with a zero communications demand.
|Enum Constant and Description
The Network Quality is Excellent.
The Network Quality is Very Good.
The Network Quality is Very Bad.
The Network Quality is Good.
The Network Quality is Bad.
The Network Quality Level cannot be determined or the Network Quality API has not been enabled.
The network connection has failed
|Modifier and Type
|Method and Description
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final NetworkQualityLevel NETWORK_QUALITY_LEVEL_UNKNOWN
public static final NetworkQualityLevel NETWORK_QUALITY_LEVEL_ZERO
public static final NetworkQualityLevel NETWORK_QUALITY_LEVEL_ONE
public static final NetworkQualityLevel NETWORK_QUALITY_LEVEL_TWO
public static final NetworkQualityLevel NETWORK_QUALITY_LEVEL_THREE
public static final NetworkQualityLevel NETWORK_QUALITY_LEVEL_FOUR
public static final NetworkQualityLevel NETWORK_QUALITY_LEVEL_FIVE
public static NetworkQualityLevel values()
for (NetworkQualityLevel c : NetworkQualityLevel.values()) System.out.println(c);
public static NetworkQualityLevel valueOf(String name)