lastmileQuality property

NetworkQualityCallback? lastmileQuality
getter/setter pair

Reports the last-mile network quality of the local user once every two seconds. This callback reports the last-mile network conditions of the local user before the user joins the channel. Last mile refers to the connection between the local device and Agora's edge server. Before the user joins the channel, this callback is triggered by the SDK once startLastmileProbeTest is called and reports the last-mile network conditions of the local user.

Param quality The last mile network quality. Unknown (0): The quality is unknown. Excellent (1): The quality is excellent. Good (2): The network quality seems excellent, but the bitrate can be slightly lower than excellent. Poor (3): Users can feel the communication is slightly impaired. Bad (4): Users cannot communicate smoothly. VBad (5): The quality is so bad that users can barely communicate. Down (6): The network is down, and users cannot communicate at all. See NetworkQuality .

Implementation

NetworkQualityCallback? lastmileQuality;