VIAudioDeviceManager class

Manages audio devices.

Limitations:

Limitations for iOS:

Limitations for Android:

  • The plug in/out of a wired headset and bluetooth devices is monitored only if a connection to the Voximplant Cloud is active.

Properties

hashCode int
The hash code for this object.
no setterinherited
onAudioDeviceChanged VIAudioDeviceChanged?
Callback for getting notified about active audio device changes.
getter/setter pair
onAudioDeviceListChanged VIAudioDeviceListChanged?
Callback for getting notified about new connected or disconnected audio devices.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

callKitConfigureAudioSession() Future<void>
iOS only. Initializes AVAudioSession for use with CallKit integration.
callKitReleaseAudioSession() Future<void>
iOS only. Restores default AVAudioSession initialization routines.
callKitStartAudio() Future<void>
iOS only. Starts AVAudioSession.
callKitStopAudio() Future<void>
iOS only. Stops AVAudioSession.
getActiveDevice() Future<VIAudioDevice>
Returns active audio device during the call or audio device that will be used for a call if there is no call at this moment.
getAudioDevices() Future<List<VIAudioDevice>>
Returns the list of available audio devices.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
selectAudioDevice(VIAudioDevice audioDevice) Future<void>
Changes selection of the current active audio device.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited