Rate this page:

VIClientConfig

Configuration information for VIClient instance.

Constructors

VIClientConfig

Copy URL

Parameters

  • bundleId:

    String?

    Optional
  • enableDebugLogging:

    bool

    Optional
  • enableLogcatLogging:

    bool

    Optional
  • Optional
  • logLevel:

    VILogLevel

    Optional
  • forceRelayTraffic:

    bool

    Optional

Props

audioFocusMode

Copy URL

VIRequestAudioFocusMode

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.

bundleId

Copy URL

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

Copy URL

bool

enableDebugLogging

Enables debug logging on Android. False by default.

Returns

  • type:

    bool

enableLogcatLogging

Copy URL

bool

enableLogcatLogging

Enables log output to logcat on Android. True by default.

Returns

  • type:

    bool

forceRelayTraffic

Copy URL

bool

forceRelayTraffic

Force traffic to go through TURN servers. False by default.

Returns

  • type:

    bool

logLevel

Copy URL

VILogLevel

logLevel

Specifies log level on iOS.

Returns