Observer
Observer of events in the libSoftphone.
All the callbacks are run on the main (GUI) thread.
To make it easier, you may want to instantiate Listeners and implement only callbacks that your classes are interested in.
Inheritors
Functions
Link copied to clipboard
Request for a ringtone for a call event.
Link copied to clipboard
abstract fun getStartingAudioEndpoint(@NonNull call: CallEvent, @NonNull availableEndpoints: List<AudioEndpoint>): AudioEndpoint
Request for selecting the starting audio route for a call event.
Link copied to clipboard
Handle a throwable.
Link copied to clipboard
Invoked when account properties changed
Link copied to clipboard
Available audio routes changed.
Link copied to clipboard
Real audio route changed.
Link copied to clipboard
Balance information received or changed.
Link copied to clipboard
A hold state of a call changed.
Link copied to clipboard
Call rate information received or updated.
Link copied to clipboard
Call repository changed.
Link copied to clipboard
State of a call changed.
Link copied to clipboard
Call-through result arrived.
Link copied to clipboard
Link copied to clipboard
Invoked for incoming composing notification, or when the composing state goes idle
Link copied to clipboard
One or more contacts have been changed, added or removed.
Link copied to clipboard
Contact source contacts index has changed.
Link copied to clipboard
Contacts source login state changed
Link copied to clipboard
Contact source state has changed.
Link copied to clipboard
Dialog event triggered.
Link copied to clipboard
DND activation changed.
Link copied to clipboard
DNS SRV query completed.
Link copied to clipboard
Events changed.
Link copied to clipboard
Media status changed in a call.
Link copied to clipboard
The call got into missed state.
Link copied to clipboard
Network change detected.
Link copied to clipboard
Network conditions changed.
Link copied to clipboard
New event arrived.
Link copied to clipboard
Invoked when the SDK requests some permission.
Link copied to clipboard
A push test has arrived.
Link copied to clipboard
abstract fun onPushTestScheduled(@Nullable accountId: String, @NonNull result: PushTestScheduleResult)
A push test was scheduled.
Link copied to clipboard
Registration failed.
Link copied to clipboard
abstract fun onRegistrationStateChanged(@Nullable accountId: String, @NonNull state: RegistrationState)
Registration state changed.
Link copied to clipboard
Security status changed on a call.
Link copied to clipboard
Invoked when a prefKey is changed
Link copied to clipboard
Invoked when simulated microphone which was configured to be played only once stopped.
Link copied to clipboard
SIP message was sent or received.
Link copied to clipboard
One or more contacts changed their smart status.
Link copied to clipboard
abstract fun onSubscriptionStateChanged(@Nullable accountId: String, @NonNull subscriptionId: String, @NonNull state: SubscriptionState)
Subscription state changed.
Link copied to clipboard
Invoked when an error related to telecom operations occurs.
Link copied to clipboard
Transfer offered call.
Link copied to clipboard
Transfer result call.
Link copied to clipboard
Video flow changed.
Link copied to clipboard
New voicemail arrived.
Link copied to clipboard
abstract fun overrideNetworkPriorities(@NonNull network: Array<NetworkInterface>): Array<NetworkInterface>
Override priorities of network interfaces.