Agora Java API Reference for Android

Static Public Member Functions | Public Attributes | List of all members
io.agora.rtm.RtmConstants.RtmProtocolType Enum Reference

## Static Public Member Functions
static int | getValue (RtmProtocolType type)
static RtmProtocolType | getEnum (int value)

## Public Attributes
| TCP_UDP =(0)
| TCP_ONLY =(1)

## Detailed Description

Rtm protocol type for underlying connection.

## Member Data Documentation

## ◆ TCP_UDP

io.agora.rtm.RtmConstants.RtmProtocolType.TCP_UDP =(0)

0: TCP and UDP (default).

## ◆ TCP_ONLY

io.agora.rtm.RtmConstants.RtmProtocolType.TCP_ONLY =(1)

1: Use TCP only.