Rate this page:

Voximplant

Entry point of the Voximplant Flutter SDK.

Constructors

Voximplant

Copy URL

Props

audioDeviceManager

Copy URL

VIAudioDeviceManager

audioDeviceManager

Gets a VIAudioDeviceManager instance to control audio hardware settings.

cameraManager

Copy URL

VICameraManager

cameraManager

Gets a VICameraManager instance to control camera hardware settings.

Returns

logListener

Copy URL

VILogListener?

logListener

Returns

messenger

Copy URL

VIMessenger

messenger

Gets a VIMessenger instance of messaging subsystem.

Returns

Methods

configureFileLogger

Copy URL

Future<void>

configureFileLogger({

String

path,

String

fileName,

int

fileSizeLimit = 2097152
}
)

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

VIClient

getClient([

VIClientConfig?

clientConfig]
)

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