Voximplant
Entry point of the Voximplant Flutter SDK.
Constructors
Voximplant
Props
audioDeviceManager
audioDeviceManager
Gets a VIAudioDeviceManager instance to control audio hardware settings.
Returns
type:
cameraManager
cameraManager
Gets a VICameraManager instance to control camera hardware settings.
Returns
type:
Methods
configureFileLogger
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:
- ERROR_FILE_OPEN - If the file cannot be created or opened in the specified path.
- ERROR_SYSTEM_SECURITY - If SecurityException is thrown on Android platform.
- ERROR_INVALID_ARGUMENTS - If [path] or [fileName] is an empty string or [fileSizeLimit] is less than or equal to 0.
Parameters
path:
String
File path.
fileName:
String
File name.
fileSizeLimit:
int
OptionalFile size limit in bytes. When the limit is reached, the file is overwritten.
Returns
type:
Future<void>
getClient
getClient([ clientConfig])
Gets a VIClient instance to connect and login to the Voximplant cloud, make and receive calls.
Parameters
clientConfig:
OptionalConfiguration for VIClient instance
Returns
type: