Agora Java API Reference for Android

Classes | Public Attributes | List of all members
io.agora.rtc2.IRtcEngineEventHandler.LastmileProbeResult Class Reference

Results of the uplink and downlink last-mile network tests. More...

## Classes
class | LastmileProbeOneWayResult
| Results of the uplink or downlink last-mile network test. More...

## Public Attributes
short | state
int | rtt
LastmileProbeOneWayResult | uplinkReport = new LastmileProbeOneWayResult()
LastmileProbeOneWayResult | downlinkReport = new LastmileProbeOneWayResult()

## Detailed Description

Results of the uplink and downlink last-mile network tests.

## Member Data Documentation

## ◆ state

short io.agora.rtc2.IRtcEngineEventHandler.LastmileProbeResult.state

The status of the last-mile network test, which includes:

- LASTMILE_PROBE_RESULT_COMPLETE (1): The last-mile network probe test is complete.
- LASTMILE_PROBE_RESULT_INCOMPLETE_NO_BWE (2): The last-mile network probe test is incomplete because bandwidth prediction is not conducted. One possible reason is that testing resources were temporarily limited.
- LASTMILE_PROBE_RESULT_UNAVAILABLE (3): The last-mile network probe test is not conducted. Probably due to poor network conditions.

## ◆ rtt

int io.agora.rtc2.IRtcEngineEventHandler.LastmileProbeResult.rtt

The round-trip time (ms).

## ◆ uplinkReport

LastmileProbeOneWayResult io.agora.rtc2.IRtcEngineEventHandler.LastmileProbeResult.uplinkReport = new LastmileProbeOneWayResult()

Results of the uplink last-mile network test. See `LastmileProbeOneWayResult`.

## ◆ downlinkReport

LastmileProbeOneWayResult io.agora.rtc2.IRtcEngineEventHandler.LastmileProbeResult.downlinkReport = new LastmileProbeOneWayResult()

Results of the downlink last-mile network test. See `LastmileProbeOneWayResult`.