CallClientPlatform class abstract
SDK control actions
- Inheritance
-
- Object
- PlatformInterface
- CallClientPlatform
- Implementers
Constructors
- CallClientPlatform()
- Constructor
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
-
getAndroidPhoneAccountEnabled(
) → Future< bool?> - ConfigurationManager . Get android phone account enabled
-
getAudioRoutes(
) → Future< List< AudioRouteData> ?> - Get audio routes
-
getCallList(
) → Future< List< Call> ?> - Get list of current calls
-
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 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
andpassword
-
setAudioRoute(
{required AudioRoute audioRoute}) → Future< void> - Set audio route
-
setDetectCallLocationEnabled(
{required bool enabled}) → Future< void> - ConfigurationManager . Set detect call location enabled
-
setRingtoneEnabled(
{required bool enabled}) → Future< void> - ConfigurationManager . Set ringtone enabled
-
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
Static Properties
- instance ↔ CallClientPlatform
-
CallClientPlatform singleton instance
getter/setter pair