BandwidthInfo.Quality

  • BandwidthInfo.Quality is an annotation defining different levels of bandwidth quality.

  • The different quality levels are HIGH, LOW, MEDIUM, and UNKNOWN, representing varying connection speeds and suitability for sending files.

  • Each quality level has a constant integer value associated with it.

  • The LOW quality is not suitable for sending files, MEDIUM is suitable for small files, and HIGH is good for readily sending files.

public static abstract @interface BandwidthInfo.Quality implements Annotation

Bandwidth quality.

Constant Summary

int HIGH The connection quality is good or great (6MBps~60MBps) and files can readily be sent.
int LOW The connection quality is poor (5KBps) and is not suitable for sending files.
int MEDIUM The connection quality is ok (60~200KBps) and is suitable for sending small files.
int UNKNOWN

Inherited Method Summary

Constants

public static final int HIGH

The connection quality is good or great (6MBps~60MBps) and files can readily be sent. The connection quality cannot improve further but may still be impacted by environment or hardware limitations.

Constant Value: 3

public static final int LOW

The connection quality is poor (5KBps) and is not suitable for sending files. It's recommended you wait until the connection quality improves.

Constant Value: 1

public static final int MEDIUM

The connection quality is ok (60~200KBps) and is suitable for sending small files. For large files, it's recommended you wait until the connection quality improves.

Constant Value: 2

public static final int UNKNOWN

Constant Value: 0