Configuration

All Implemented Interfaces

public final class ScreenMeet.Configuration

Create a configuration object. The organizationKey MUST be specified.

Nested Class Summary

Modifier and Type Class Description
public enum ScreenMeet.Configuration.LogLevel

Field Summary

Modifier and Type Field Description
private final String organizationKey

Constructor Summary

Constructor Description
ScreenMeet.Configuration(String organizationKey)

Enum Constant Summary

Enum Constant Description

Method Summary

All Methods

Modifier and Type Method Description
final String getOrganizationKey()
final ScreenMeet.Configuration httpTimeout(Long httpTimeout) HTTP connection timeout.
final ScreenMeet.Configuration httpNumRetry(Integer httpNumRetry) HTTP connection retry number.
final ScreenMeet.Configuration socketConnectionTimeout(Long socketConnectionTimeout) Socket connection timeout.
final ScreenMeet.Configuration socketConnectionNumRetries(Integer socketConnectionNumRetries) Socket connection retry number.
final ScreenMeet.Configuration socketReconnectDelay(Long socketReconnectDelay) Socket reconnection delay.
final ScreenMeet.Configuration socketReconnectNum(Integer socketReconnectNum) Socket reconnection retry number.
final ScreenMeet.Configuration webRtcNumRetries(Integer webRtcNumRetries) WebRTC connection retry number.
final ScreenMeet.Configuration webRtcTimeout(Long webRtcTimeout) WebRTC connection timeout.
final ScreenMeet.Configuration collectMetrics(Boolean collect)
final ScreenMeet.Configuration logLevel(ScreenMeet.Configuration.LogLevel logLevel) Represent the severity and importance of log messages output.

Constructor Detail

ScreenMeet.Configuration

ScreenMeet.Configuration(String organizationKey)

Parameters: organizationKey - the API token for your organization

Method Detail

getOrganizationKey

final String getOrganizationKey()

httpTimeout

final ScreenMeet.Configuration httpTimeout(Long httpTimeout)

HTTP connection timeout. Provided in milliseconds. Default 30000.

httpNumRetry

final ScreenMeet.Configuration httpNumRetry(Integer httpNumRetry)

HTTP connection retry number. Default 5 retries.

socketConnectionTimeout

final ScreenMeet.Configuration socketConnectionTimeout(Long socketConnectionTimeout)

Socket connection timeout. Provided in milliseconds. Default 20000.

socketConnectionNumRetries

final ScreenMeet.Configuration socketConnectionNumRetries(Integer socketConnectionNumRetries)

Socket connection retry number. Default 5 retries.

socketReconnectDelay

final ScreenMeet.Configuration socketReconnectDelay(Long socketReconnectDelay)

Socket reconnection delay. Provided in seconds. Default 0s.

socketReconnectNum

final ScreenMeet.Configuration socketReconnectNum(Integer socketReconnectNum)

Socket reconnection retry number. Default unlimited retries. For unlimited set -1.

webRtcNumRetries

final ScreenMeet.Configuration webRtcNumRetries(Integer webRtcNumRetries)

WebRTC connection retry number. Default 5 retries.

webRtcTimeout

final ScreenMeet.Configuration webRtcTimeout(Long webRtcTimeout)

WebRTC connection timeout. Provided in seconds. Default 60s.

collectMetrics

final ScreenMeet.Configuration collectMetrics(Boolean collect)

logLevel

final ScreenMeet.Configuration logLevel(ScreenMeet.Configuration.LogLevel logLevel)

Represent the severity and importance of log messages output.

Parameters: logLevel - INFO|DEBUG|ERROR. @see LogLevel