|
Agora Java API Reference for Android
|
RTE configuration class, used to configure the RTE object.
More...
Public Member Functions | |
| long | getNativeHandle () |
| void | setAppId (String appId) throws RteException |
| Sets the App ID. More... | |
| 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 |
| Configures technical preview or specially customized features of the SDK via JSON. More... | |
| 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 |
Sets the App ID.
Call timing: You must call this method before initMediaEngine.
| appId | The App ID of your project, which you can obtain from the Console. |
| RteException | If the method call fails, the SDK throws an RteException with the corresponding error information. You need to catch and handle the exception. |
| String io.agora.rte.Config.getAppId | ( | ) | throws RteException |
Get the set App ID.
| 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 |
Configures technical preview or specially customized features of the SDK via JSON.
Applicable scenarios: You can call this method when you need to set private parameters or use customized features. Call timing: This method must be called before setConfigs(Config config).
| jsonParameter | Parameters in JSON string format. |
| RteException | If the method call fails, the SDK throws an RteException with corresponding error information. You need to catch and handle the exception. |
| String io.agora.rte.Config.getJsonParameter | ( | ) | throws RteException |
Get the currently set JSON private parameters.
1.8.18