Voice
SDK facade object. The inception point of all communications between client and SDK.
Types
Properties
Current available active audio options.
Notification actions flow passing through user's interactions with notifications
Shared flow representing the audio option updates
Shared flow providing the SIP metric events
Read-only property returning the String value indicating the Voice SDK component versions. Can be accessed only after initialization of the SDK
Current active audio option.
Read-only property for user's display name.
Read-only property to check if there are any Active calls at the moment.
True if bluetooth is available during a call, False otherwise
Shared flow providing log data sent by the SDK
Read-only property for the user's phone number.
Read-only property used to receive registration data used in the SDK.
Property to get and set the ringtone to be played for an incoming call.
Read-only property returning the String value indicating the Voice SDK version.
StateFlow that can be collected to receive State updates.
Shared flow providing token expiration events sent by the SDK
Shared flow providing call reports
Shared flow representing the voice call states
Functions
Activates the SDK. All fields from both, session and user configurations must be set, otherwise the activation will throw a RegistrationException
Destroys the internal SDK components. It should be called by app upon user logout.
Initializes SDK internal components and log listener which is used to send some useful logging information to the application. Must be called once per application lifecycle.
Checks if necessary configuration data is present.
Checks if the received notification is for Incoming call that the SDK can process.
Places an outgoing call.
Handles an incoming call.
Updates the audio option during a call.
Switches Audio option from: VoiceCallAudioOption.EARPIECE to VoiceCallAudioOption.SPEAKER, VoiceCallAudioOption.SPEAKER to VoiceCallAudioOption.EARPIECE, VoiceCallAudioOption.BLUETOOTH to VoiceCallAudioOption.EARPIECE,
Update display authentication token at any point after a successful registration.
To update contact information on the call object
Update display name at any point after successful registration
Update InboundCallPath at any point after a successful registration.
Update phone number at any point after successful registration
Updates push token at any point after successful registration