onLastmileQuality property

void Function(QualityType quality)? onLastmileQuality
final

Callback for the last mile uplink and downlink network quality report.

This callback describes the result of the last mile network probe for the local user before joining the channel. The last mile refers to the network status from the device to the Agora edge server. Before joining the channel, after calling startLastmileProbeTest, the SDK triggers this callback to report the result of the last mile network probe for the local user.

  • quality Last mile network quality. See QualityType.

Implementation

final void Function(QualityType quality)? onLastmileQuality;