Rate this page:

VIClientConfig

Configuration information for a 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.

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.

bundleId

Copy URL

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

Copy URL

bool

enableDebugLogging

Whether to enable debug logging on Android. The default value is false.

Returns

  • type:

    bool

enableLogcatLogging

Copy URL

bool

enableLogcatLogging

Whether to enables log output to logcat on Android. The default value is true.

Returns

  • type:

    bool

forceRelayTraffic

Copy URL

bool

forceRelayTraffic

Whether to force traffic to go through TURN servers. The default value is false.

Returns

  • type:

    bool

logLevel

Copy URL

VILogLevel

logLevel

Specifies the log level on iOS.

Returns