VIClientConfig
Configuration information for a VIClient instance.
Constructors
VIClientConfig
Parameters
bundleId:
String?
OptionalenableDebugLogging:
bool
OptionalenableLogcatLogging:
bool
OptionalaudioFocusMode:
OptionallogLevel:
OptionalforceRelayTraffic:
bool
Optional
Props
audioFocusMode
audioFocusMode
Specifies when the audio focus request is performed: when a call is started or established.
The default value is onCallStart.
If the application plays some audio, it may result in audio interruptions. To avoid this behavior, this option should be set to onCallConnected and application's audio should be stopped/paused on VICallAudioStarted callback.
Returns
bundleId
String?
bundleId
Application bundle id.
Set this only if you are going to send push notification across several Android or several iOS apps within a single Voximplant application.
Returns
type:
String?
enableDebugLogging
bool
enableDebugLogging
Whether to enable debug logging on Android. The default value is false.
Returns
type:
bool
enableLogcatLogging
bool
enableLogcatLogging
Whether to enables log output to logcat on Android. The default value is true.
Returns
type:
bool
forceRelayTraffic
bool
forceRelayTraffic
Whether to force traffic to go through TURN servers. The default value is false.
Returns
type:
bool