Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RtmConfig

Interface holding the configuration of an RtmClient instance.

You can pass it as the second argument when calling the createInstance method, or use it when calling the updateConfig method.

Hierarchy

  • RtmConfig

Index

Properties

Optional enableCloudProxy

enableCloudProxy: undefined | false | true

Whether to enable cloud proxy.

Optional enableLogUpload

enableLogUpload: undefined | false | true

Whether to enable log upload. It is set to false by default.

  • true: Enable log upload,
  • false: (Default) Disable log upload.

Optional logFilter

logFilter: LogFilterType

Output log level of the SDK.

You can use one or a combination of the filters. The log level follows the sequence of OFF, ERROR, WARNING, and INFO. Choose a level to see the logs preceding that level. If, for example, you set the log level to WARNING, you see the logs within levels ERROR and WARNING.