Agora Java API Reference for Android

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

## Public Member Functions
| RtmPrivateConfig ()
| RtmPrivateConfig (EnumSet< RtmServiceType > serviceType, ArrayList< String > accessPointHosts)
void | setServiceType (EnumSet< RtmServiceType > serviceType)
void | setAccessPointHosts (ArrayList< String > accessPointHosts)
int | getServiceType ()
ArrayList< String > | getAccessPointHosts ()
String | toString ()

## Detailed Description

Private configuration.

## Constructor & Destructor Documentation

## ◆ RtmPrivateConfig() [1/2]

io.agora.rtm.RtmPrivateConfig.RtmPrivateConfig | ( |  | ) |

Creates a new instance of

RtmPrivateConfig

with default parameters.

## ◆ RtmPrivateConfig() [2/2]

io.agora.rtm.RtmPrivateConfig.RtmPrivateConfig | ( | EnumSet< RtmServiceType > | serviceType,
|  | ArrayList< String > | accessPointHosts
| ) |  |

Creates a new instance of

RtmProxyConfig

with specifies parameters.

Parameters

  serviceType | The service type
  accessPointHosts | The local access point hosts list

io.agora.rtm.RtmPrivateConfig.RtmPrivateConfig
RtmPrivateConfig()
Definition: RtmPrivateConfig.java:26