Agora Java API Reference for Android

Public Member Functions | List of all members
io.agora.rtm.RtmProxyConfig Class Reference

## Public Member Functions
| RtmProxyConfig ()
| RtmProxyConfig (RtmProxyType type, String server, int port)
| RtmProxyConfig (RtmProxyType type, String server, int port, String account, String password)
void | setProxyType (RtmProxyType type)
void | setServer (String server)
void | setAccount (String account)
void | setPassword (String password)
void | setPort (int port)
int | getProxyType ()
String | getServer ()
String | getAccount ()
String | getPassword ()
int | getPort ()
String | toString ()

## Detailed Description

Proxy configuration

## Constructor & Destructor Documentation

## ◆ RtmProxyConfig() [1/3]

io.agora.rtm.RtmProxyConfig.RtmProxyConfig | ( |  | ) |

Creates a new instance of

RtmProxyConfig

with default parameters.

## ◆ RtmProxyConfig() [2/3]

io.agora.rtm.RtmProxyConfig.RtmProxyConfig | ( | RtmProxyType | type,
|  | String | server,
|  | int | port
| ) |  |

Creates a new instance of

RtmProxyConfig

with specifies parameters.

Parameters

  type | The proxy type
  server | The proxy server address
  port | The proxy server port

## ◆ RtmProxyConfig() [3/3]

io.agora.rtm.RtmProxyConfig.RtmProxyConfig | ( | RtmProxyType | type,
|  | String | server,
|  | int | port,
|  | String | account,
|  | String | password
| ) |  |

Creates a new instance of

RtmProxyConfig

with specifies parameters.

Parameters

  type | The proxy type
  server | The proxy server address
  port | The proxy server port
  account | The proxy user account
  password | The proxy user password

io.agora.rtm.RtmProxyConfig.RtmProxyConfig
RtmProxyConfig()
Definition: RtmProxyConfig.java:38