Agora Java API Reference for Android
|
Public Member Functions | |
long | getNativeHandle () |
void | setAppId (String appId) throws RteException |
String | getAppId () throws RteException |
void | setLogFolder (String logFolder) throws RteException |
String | getLogFolder () throws RteException |
void | setLogFileSize (int logFileSize) throws RteException |
int | getLogFileSize () throws RteException |
void | setAreaCode (int areaCode) throws RteException |
int | getAreaCode () throws RteException |
void | setCloudProxy (String cloudProxy) throws RteException |
String | getCloudProxy () throws RteException |
void | setJsonParameter (String jsonParameter) throws RteException |
String | getJsonParameter () throws RteException |
Protected Member Functions | |
void | finalize () |
RTE configuration class. Used to configure the RTE object.
void io.agora.rte.Config.setAppId | ( | String | appId | ) | throws RteException |
Set the App ID, used during engine initialization. This field needs to be set before calling Rte.initMediaEngine to initialize the engine. If not set, the default value is an empty string.
appId | Your project's App ID. |
RteException | RteException.errorCode() may return the following ErrorCode:
|
String io.agora.rte.Config.getAppId | ( | ) | throws RteException |
Get the set App ID.
RteException | RteException.errorCode() may return the following ErrorCode: |
void io.agora.rte.Config.setLogFolder | ( | String | logFolder | ) | throws RteException |
Set the log folder.
logFolder | The log folder. |
RteException | @technical preview |
String io.agora.rte.Config.getLogFolder | ( | ) | throws RteException |
Get the log folder.
RteException | @technical preview |
void io.agora.rte.Config.setLogFileSize | ( | int | logFileSize | ) | throws RteException |
Set the log file size.
logFileSize | The log file size. |
RteException | @technical preview |
int io.agora.rte.Config.getLogFileSize | ( | ) | throws RteException |
Get the log file size.
RteException | @technical preview |
void io.agora.rte.Config.setAreaCode | ( | int | areaCode | ) | throws RteException |
Set the area code.
areaCode | The area code. |
RteException | @technical preview |
int io.agora.rte.Config.getAreaCode | ( | ) | throws RteException |
Get the area code.
RteException | @technical preview |
void io.agora.rte.Config.setCloudProxy | ( | String | cloudProxy | ) | throws RteException |
Set the cloud proxy.
cloudProxy | The cloud proxy. |
RteException | @technical preview |
String io.agora.rte.Config.getCloudProxy | ( | ) | throws RteException |
Get the cloud proxy.
RteException | @technical preview |
void io.agora.rte.Config.setJsonParameter | ( | String | jsonParameter | ) | throws RteException |
Set JSON formatted parameters, usually used to set certain private parameters supported by RTE.
jsonParameter | JSON formatted parameter set. |
RteException | RteException.errorCode() may return the following ErrorCode:
|
String io.agora.rte.Config.getJsonParameter | ( | ) | throws RteException |
Get the currently set JSON private parameters.
RteException | RteException.errorCode() may return the following ErrorCode: |