VIClientConfig
Configuration information for 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.
onCallStart by default.
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.
You need to set this only if you are going to send push notification across several Android or several iOS apps using a single Voximplant application.
Returns
type:
String?
enableDebugLogging
bool
enableDebugLogging
Enables debug logging on Android. False by default.
Returns
type:
bool
enableLogcatLogging
bool
enableLogcatLogging
Enables log output to logcat on Android. True by default.
Returns
type:
bool
forceRelayTraffic
bool
forceRelayTraffic
Force traffic to go through TURN servers. False by default.
Returns
type:
bool