Agora Java API Reference for Android

Public Member Functions | List of all members
agora::rtc::INetworkObserver Class Reference

## Public Member Functions
virtual void | onUplinkNetworkInfoUpdated (const UplinkNetworkInfo &info)
virtual void | onDownlinkNetworkInfoUpdated (const DownlinkNetworkInfo &info)

## Member Function Documentation

## ◆ onUplinkNetworkInfoUpdated()

virtual void agora::rtc::INetworkObserver::onUplinkNetworkInfoUpdated | ( | const UplinkNetworkInfo & | info | ) |
| virtual

Occurs when downlink network info is updated.

This callback is used for notifying user to adjust the send pace based on the target bitrate.

Parameters

  info | The uplink network info collections.

## ◆ onDownlinkNetworkInfoUpdated()

virtual void agora::rtc::INetworkObserver::onDownlinkNetworkInfoUpdated | ( | const DownlinkNetworkInfo & | info | ) |
| virtual

Occurs when downlink network info is updated.

This callback is used for notifying user to switch major/minor stream if needed.

Parameters

  info | The downlink network info collections.