Rate this page:

Voximplant

Entry point of the Voximplant Flutter SDK.

Constructors

Voximplant

Copy URL

Props

audioDeviceManager

Copy URL
audioDeviceManager: 

Gets a VIAudioDeviceManager instance to control audio hardware settings.

cameraManager

Copy URL
cameraManager: 

Gets a VICameraManager instance to control camera hardware settings.

Returns

logListener

Copy URL
logListener: 

Returns

messenger

Copy URL
messenger: 

Gets a VIMessenger instance of messaging subsystem.

Returns

Methods

configureFileLogger

Copy URL
configureFileLogger(path: 

String

,
fileName:

String

,
fileSizeLimit:

int

):

Future<void>

Configures the logger to write log messages to a file.

Throws VIException, if an error occurred on the Android platform, or [UnimplementedError] on the iOS platform.

Errors:

Parameters

  • path:

    String

    File path.

  • fileName:

    String

    File name.

  • fileSizeLimit:

    int

    Optional

    File size limit in bytes. When the limit is reached, the file is overwritten.

Returns

  • type:

    Future<void>

getClient

Copy URL
getClient(clientConfig: 

VIClientConfig?

):

VIClient

Gets a VIClient instance to connect and login to the Voximplant cloud, make and receive calls.

Parameters

  • clientConfig:

    VIClientConfig?

    Optional

    Configuration for VIClient instance

Returns