Agora Java API Reference for Android

Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.Constants.MultipathType Enum Reference

Network path types used in multipath transmission. More...

## Public Member Functions
int | getValue ()

## Static Public Member Functions
static MultipathType | fromInt (int v)

## Public Attributes
| MULTIPATH_TYPE_LAN =(0)
| MULTIPATH_TYPE_WIFI =(1)
| MULTIPATH_TYPE_MOBILE =(2)
| MULTIPATH_TYPE_UNKNOWN =(99)

## Detailed Description

Network path types used in multipath transmission.

Since
  4.6.0

## Member Data Documentation

## ◆ MULTIPATH_TYPE_LAN

io.agora.rtc2.Constants.MultipathType.MULTIPATH_TYPE_LAN =(0)

(0): LAN type, indicates data is transmitted over a local area network. Suitable for high-speed, low-latency connections.

## ◆ MULTIPATH_TYPE_WIFI

io.agora.rtc2.Constants.MultipathType.MULTIPATH_TYPE_WIFI =(1)

(1): Wi-Fi type, indicates data is transmitted over a Wi-Fi network. Suitable for wireless connections with moderate latency.

## ◆ MULTIPATH_TYPE_MOBILE

io.agora.rtc2.Constants.MultipathType.MULTIPATH_TYPE_MOBILE =(2)

(2): Mobile network type, indicates data is transmitted over a mobile network. Suitable for scenarios with higher latency and unstable connections.

## ◆ MULTIPATH_TYPE_UNKNOWN

io.agora.rtc2.Constants.MultipathType.MULTIPATH_TYPE_UNKNOWN =(99)

(99): Unknown type, indicates an unrecognized path type. Can be used for error handling or fallback scenarios.