CallClient class

The main object through which the client application interacts with the library

Constructors

CallClient()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAudioRoutes() Future<List<AudioRouteData>?>
Get audio routes
getCallList() Future<List<Call>?>
Get list of current calls
getConfigurationManager() Future<ConfigurationManager>
Get configuration manager
getRegistrationState() Future<RegistrationState>
Get current registration state
getVersionInfo() Future<VersionInfo>
SDK version for developer's convenience
initializeCallClient({required Configuration configuration}) Future<void>
Prepare service for work with the desired configuration
initializeOutgoingCallClient({required Configuration configuration}) Future<void>
Prepare service in only outgoing calls mode for work with the desired configuration
makeCall({required String number}) Future<void>
Create new outgoing call to the specified account number
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register({required String login, required String password}) Future<void>
Create account registration with login and password
setAudioRoute({required AudioRoute audioRoute}) Future<void>
Set audio route
subscribeOnAudioRouteEvents() Stream<AudioRouteEvent>
Stream of messages about changes in audio routes
subscribeOnCallEvents() Stream<CallEvent>
Stream of messages about changes in calls
subscribeOnPushTokenEvents() Stream<String>
Stream for receiving push tokens
subscribeOnRegistrationEvents() Stream<RegistrationEvent>
Stream of registration events messages
toString() String
A string representation of this object.
inherited
unregister() Future<void>
Remove account registration

Operators

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