Package org.linphone.core
Class CoreListenerStub
java.lang.Object
org.linphone.core.CoreListenerStub
- All Implemented Interfaces:
CoreListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onAccountAdded
(Core core, Account account) Account added callback prototype.void
onAccountRegistrationStateChanged
(Core core, Account account, RegistrationState state, String message) Callback notifying that aAccount
has its registration state changed.void
onAccountRemoved
(Core core, Account account) Account removed callback prototype.void
onAudioDeviceChanged
(Core core, AudioDevice audioDevice) Callback prototype telling that the audio device for at least one call has
changed.void
Callback prototype telling the audio devices list has been updated.void
onAuthenticationRequested
(Core core, AuthInfo authInfo, AuthMethod method) Callback for requesting authentication information to application or user.void
onBuddyInfoUpdated
(Core core, Friend linphoneFriend) Callback prototype when using the buddy plugin.void
onCallCreated
(Core core, Call call) Callback notifying that a newCall
(either incoming or outgoing) has
been created.void
onCallEncryptionChanged
(Core core, Call call, boolean mediaEncryptionEnabled, String authenticationToken) Call encryption changed callback.void
onCallGoclearAckSent
(Core core, Call call) GoClear ACK sent on call callback.void
onCallIdUpdated
(Core core, String previousCallId, String currentCallId) Callback to notify the callid of a call has been updated.void
onCallLogUpdated
(Core core, CallLog callLog) Callback to notify a new call-log entry has been added.void
onCallReceiveMasterKeyChanged
(Core core, Call call, String masterKey) Call receive master key changed callback.void
onCallSendMasterKeyChanged
(Core core, Call call, String masterKey) Call send master key changed callback.void
onCallStateChanged
(Core core, Call call, Call.State state, String message) Call state notification callback.void
onCallStatsUpdated
(Core core, Call call, CallStats callStats) Callback for receiving quality statistics for calls.void
onChatRoomEphemeralMessageDeleted
(Core core, ChatRoom chatRoom) Callback prototype telling that aChatRoom
ephemeral message has
expired.void
onChatRoomRead
(Core core, ChatRoom chatRoom) Chat room marked as read callback.void
onChatRoomSessionStateChanged
(Core core, ChatRoom chatRoom, Call.State state, String message) Chat room session state changed callback.void
onChatRoomStateChanged
(Core core, ChatRoom chatRoom, ChatRoom.State state) Callback prototype telling that aChatRoom
state has changed.void
onChatRoomSubjectChanged
(Core core, ChatRoom chatRoom) Callback prototype telling that aChatRoom
subject has changed.void
onConferenceInfoReceived
(Core core, ConferenceInfo conferenceInfo) Callback prototype for notifying the application about a received conference
info.void
onConferenceStateChanged
(Core core, Conference conference, Conference.State state) Callback prototype telling that aConference
state has changed.void
onConfiguringStatus
(Core core, ConfiguringState status, String message) Callback prototype for configuring status changes notification.void
onDefaultAccountChanged
(Core core, Account account) Default account changed callback prototype.void
onDtmfReceived
(Core core, Call call, int dtmf) Callback for being notified of DTMFs received.void
onEcCalibrationAudioInit
(Core core) Function prototype used by linphone_core_cbs_set_ec_calibration_audio_init.void
Function prototype used by linphone_core_cbs_set_ec_calibration_audio_uninit.void
onEcCalibrationResult
(Core core, EcCalibratorStatus status, int delayMs) Function prototype used by linphone_core_cbs_set_ec_calibration_result.void
onFirstCallStarted
(Core core) Callback prototype telling a call has started (incoming or outgoing) while
there was no other call.void
onFriendListCreated
(Core core, FriendList friendList) Callback prototype for reporting when a friend list has been added to the core
friend lists.void
onFriendListRemoved
(Core core, FriendList friendList) Callback prototype for reporting when a friend list has been removed from the
core friend lists.void
onGlobalStateChanged
(Core core, GlobalState state, String message) Global state notification callback.void
onImeeUserRegistration
(Core core, boolean status, String userId, String info) Callback prototype telling that an Instant Message Encryption Engine user
registered on the server with or without success.void
onInfoReceived
(Core core, Call call, InfoMessage message) Callback prototype for receiving info messages.void
onIsComposingReceived
(Core core, ChatRoom chatRoom) Is composing notification callback prototype.void
onLastCallEnded
(Core core) void
onLogCollectionUploadProgressIndication
(Core core, int offset, int total) Callback prototype for reporting log collection upload progress indication.void
onLogCollectionUploadStateChanged
(Core core, Core.LogCollectionUploadState state, String info) Callback prototype for reporting log collection upload state change.void
onMessageReceived
(Core core, ChatRoom chatRoom, ChatMessage message) Chat message callback prototype.void
onMessageReceivedUnableDecrypt
(Core core, ChatRoom chatRoom, ChatMessage message) Chat message not decrypted callback prototype.void
onMessageSent
(Core core, ChatRoom chatRoom, ChatMessage message) Called after theChatMessage.send()
was called.void
onMessagesReceived
(Core core, ChatRoom chatRoom, ChatMessage[] messages) Chat messages callback prototype.void
onNetworkReachable
(Core core, boolean reachable) Callback prototype for reporting network change either automatically detected
or notified byCore.setNetworkReachable(boolean)
.void
onNewAlertTriggered
(Core core, Alert alert) Callback for notifying about an alert (e.g on Qos)
void
onNewMessageReaction
(Core core, ChatRoom chatRoom, ChatMessage message, ChatMessageReaction reaction) Chat message new reaction callback prototype.void
onNewSubscriptionRequested
(Core core, Friend linphoneFriend, String url) Reports that a new subscription request has been received and wait for a
decision.void
onNotifyPresenceReceived
(Core core, Friend linphoneFriend) Report status change for a friend previously added to theCore
with
linphone_core_add_friend().void
onNotifyPresenceReceivedForUriOrTel
(Core core, Friend linphoneFriend, String uriOrTel, PresenceModel presenceModel) Reports presence model change for a specific URI or phone number of a friend.void
onNotifyReceived
(Core core, Event linphoneEvent, String notifiedEvent, Content body) Callback prototype for notifying the application about notification received
from the network.void
onNotifySent
(Core core, Event linphoneEvent, Content body) Callback prototype for notifying the application about notification that is
being sent.void
onPreviewDisplayErrorOccurred
(Core core, int errorCode) Callback to notify that there are errors from the video rendering.void
onPublishReceived
(Core core, Event linphoneEvent, String publishEvent, Content body) Callback prototype for notifying the application about publish received from
the network.void
onPublishStateChanged
(Core core, Event linphoneEvent, PublishState state) Callback prototype for notifying the application about changes of publish
states.void
onPushNotificationReceived
(Core core, String payload) Callback prototype for notifying the application a push notification was
received.void
onQrcodeFound
(Core core, String result) Callback prototype telling the result of decoded qrcode.void
onReactionRemoved
(Core core, ChatRoom chatRoom, ChatMessage message, Address address) Chat message removed reaction callback prototype.void
onReferReceived
(Core core, String referTo) Callback prototype for when a refer is received.void
onRegistrationStateChanged
(Core core, ProxyConfig proxyConfig, RegistrationState state, String message) Registration state notification callback prototype.void
onSubscribeReceived
(Core core, Event linphoneEvent, String subscribeEvent, Content body) Callback prototype for notifying the application about subscription received
from the network.void
onSubscriptionStateChanged
(Core core, Event linphoneEvent, SubscriptionState state) Callback prototype for notifying the application about changes of subscription
states, including arrival of new subscriptions.void
onTransferStateChanged
(Core core, Call transfered, Call.State callState) Callback for notifying progresses of transfers.void
onVersionUpdateCheckResultReceived
(Core core, VersionUpdateCheckResult result, String version, String url) Callback prototype for reporting the result of a version update check.
-
Constructor Details
-
CoreListenerStub
public CoreListenerStub()
-
-
Method Details
-
onGlobalStateChanged
Description copied from interface:CoreListener
Global state notification callback.
- Specified by:
onGlobalStateChanged
in interfaceCoreListener
- Parameters:
core
- theCore
.state
- theGlobalState
message
- informational message.
-
onRegistrationStateChanged
public void onRegistrationStateChanged(@NonNull Core core, @NonNull ProxyConfig proxyConfig, RegistrationState state, @NonNull String message) Description copied from interface:CoreListener
Registration state notification callback prototype.
- Specified by:
onRegistrationStateChanged
in interfaceCoreListener
- Parameters:
core
- theCore
proxyConfig
- theProxyConfig
which state has changedstate
- the currentRegistrationState
message
- a non null informational message about the state
-
onConferenceInfoReceived
Description copied from interface:CoreListener
Callback prototype for notifying the application about a received conference
info.
- Specified by:
onConferenceInfoReceived
in interfaceCoreListener
- Parameters:
core
-Core
objectconferenceInfo
- theConferenceInfo
received
-
onPushNotificationReceived
Description copied from interface:CoreListener
Callback prototype for notifying the application a push notification was
received.
On iOS it only works with pushkit (VoIP) pushes.- Specified by:
onPushNotificationReceived
in interfaceCoreListener
- Parameters:
core
-Core
objectpayload
- the body of the push notification, if any
-
onPreviewDisplayErrorOccurred
Description copied from interface:CoreListener
Callback to notify that there are errors from the video rendering.
Check LinphoneCallCbsVideoDisplayErrorOccurredCb for more details.- Specified by:
onPreviewDisplayErrorOccurred
in interfaceCoreListener
- Parameters:
core
-Core
objecterrorCode
- The error code. It depends of the display filter (available
for OpenGL)
-
onCallStateChanged
public void onCallStateChanged(@NonNull Core core, @NonNull Call call, Call.State state, @NonNull String message) Description copied from interface:CoreListener
Call state notification callback.
- Specified by:
onCallStateChanged
in interfaceCoreListener
- Parameters:
core
- theCore
call
- theCall
object whose state is changed.state
- the newCall#State
of the callmessage
- a non null informational message about the state.
-
onNotifyPresenceReceived
Description copied from interface:CoreListener
- Specified by:
onNotifyPresenceReceived
in interfaceCoreListener
- Parameters:
core
-Core
objectlinphoneFriend
- UpdatedFriend
-
onNotifyPresenceReceivedForUriOrTel
public void onNotifyPresenceReceivedForUriOrTel(@NonNull Core core, @NonNull Friend linphoneFriend, @NonNull String uriOrTel, @NonNull PresenceModel presenceModel) Description copied from interface:CoreListener
Reports presence model change for a specific URI or phone number of a friend.
- Specified by:
onNotifyPresenceReceivedForUriOrTel
in interfaceCoreListener
- Parameters:
core
-Core
objectlinphoneFriend
-Friend
objecturiOrTel
- The URI or phone number for which the presence model has
changedpresenceModel
- The newPresenceModel
-
onNewSubscriptionRequested
public void onNewSubscriptionRequested(@NonNull Core core, @NonNull Friend linphoneFriend, @NonNull String url) Description copied from interface:CoreListener
Reports that a new subscription request has been received and wait for a
decision.
note: A subscription request is notified by this function only if theSubscribePolicy
for the givenFriend
has been set toSubscribePolicy.SPWait
.
SeeFriend.setIncSubscribePolicy(org.linphone.core.SubscribePolicy)
.- Specified by:
onNewSubscriptionRequested
in interfaceCoreListener
- Parameters:
core
-Core
objectlinphoneFriend
- TheFriend
aimed by the subscription.url
- URI of the subscriber
-
onAuthenticationRequested
public void onAuthenticationRequested(@NonNull Core core, @NonNull AuthInfo authInfo, @NonNull AuthMethod method) Description copied from interface:CoreListener
Callback for requesting authentication information to application or user.
- Specified by:
onAuthenticationRequested
in interfaceCoreListener
- Parameters:
core
- theCore
authInfo
- aAuthInfo
pre-filled with username, realm and domain
values as much as possiblemethod
- the type of authentication requested asAuthMethod
enum
Application shall reply to this callback usingCore.addAuthInfo(org.linphone.core.AuthInfo)
.
-
onCallLogUpdated
Description copied from interface:CoreListener
Callback to notify a new call-log entry has been added.
This is done typically when a call terminates.- Specified by:
onCallLogUpdated
in interfaceCoreListener
- Parameters:
core
- theCore
callLog
- the newCallLog
entry added.
-
onCallIdUpdated
public void onCallIdUpdated(@NonNull Core core, @NonNull String previousCallId, @NonNull String currentCallId) Description copied from interface:CoreListener
Callback to notify the callid of a call has been updated.
This is done typically when a call retry.- Specified by:
onCallIdUpdated
in interfaceCoreListener
- Parameters:
core
- theCore
previousCallId
- the previous callid.currentCallId
- the new callid.
-
onMessageReceived
public void onMessageReceived(@NonNull Core core, @NonNull ChatRoom chatRoom, @NonNull ChatMessage message) Description copied from interface:CoreListener
Chat message callback prototype.
- Specified by:
onMessageReceived
in interfaceCoreListener
- Parameters:
core
-Core
objectchatRoom
-ChatRoom
involved in this conversation. Can be created
by the framework in case the From-URI is not present in any chat room.message
-ChatMessage
incoming message
-
onNewMessageReaction
public void onNewMessageReaction(@NonNull Core core, @NonNull ChatRoom chatRoom, @NonNull ChatMessage message, @NonNull ChatMessageReaction reaction) Description copied from interface:CoreListener
Chat message new reaction callback prototype.
- Specified by:
onNewMessageReaction
in interfaceCoreListener
- Parameters:
core
-Core
objectchatRoom
-ChatRoom
involved in this conversation. Can be created
by the framework in case the From-URI is not present in any chat room.message
- theChatMessage
to which the reaction applies toreaction
- theChatMessageReaction
that has been sent or received
-
onReactionRemoved
public void onReactionRemoved(@NonNull Core core, @NonNull ChatRoom chatRoom, @NonNull ChatMessage message, @NonNull Address address) Description copied from interface:CoreListener
Chat message removed reaction callback prototype.
- Specified by:
onReactionRemoved
in interfaceCoreListener
- Parameters:
core
-Core
objectchatRoom
-ChatRoom
involved in this conversation. Can be created
by the framework in case the From-URI is not present in any chat room.message
- theChatMessage
to which a reaction has been removed
fromaddress
- theAddress
of the person that removed it's reaction
-
onMessagesReceived
public void onMessagesReceived(@NonNull Core core, @NonNull ChatRoom chatRoom, @NonNull ChatMessage[] messages) Description copied from interface:CoreListener
Chat messages callback prototype.
Only called when aggregation is enabled (aka [sip] chat_messages_aggregation ==
1 or usingCore.setChatMessagesAggregationEnabled(boolean)
), it replaces the
single message received callback.- Specified by:
onMessagesReceived
in interfaceCoreListener
- Parameters:
core
-Core
objectchatRoom
-ChatRoom
involved in this conversation. Can be created
by the framework in case the From-URI is not present in any chat room.messages
- The of incoming messages
-
onMessageSent
public void onMessageSent(@NonNull Core core, @NonNull ChatRoom chatRoom, @NonNull ChatMessage message) Description copied from interface:CoreListener
Called after theChatMessage.send()
was called.
The message will be in state InProgress. In case of resend this callback won't
be called.- Specified by:
onMessageSent
in interfaceCoreListener
- Parameters:
core
-Core
objectchatRoom
-ChatRoom
involved in this conversation. Can be be
created by the framework in case the From-URI is not present in any chat room.
message
-ChatMessage
outgoing message
-
onChatRoomSessionStateChanged
public void onChatRoomSessionStateChanged(@NonNull Core core, @NonNull ChatRoom chatRoom, Call.State state, @NonNull String message) Description copied from interface:CoreListener
Chat room session state changed callback.
- Specified by:
onChatRoomSessionStateChanged
in interfaceCoreListener
- Parameters:
core
-Core
objectchatRoom
-ChatRoom
that has been marked as read.state
- the newCall#State
of the callmessage
- a non null informational message about the state.
-
onChatRoomRead
Description copied from interface:CoreListener
Chat room marked as read callback.
- Specified by:
onChatRoomRead
in interfaceCoreListener
- Parameters:
core
-Core
objectchatRoom
-ChatRoom
that has been marked as read.
-
onMessageReceivedUnableDecrypt
public void onMessageReceivedUnableDecrypt(@NonNull Core core, @NonNull ChatRoom chatRoom, @NonNull ChatMessage message) Description copied from interface:CoreListener
Chat message not decrypted callback prototype.
- Specified by:
onMessageReceivedUnableDecrypt
in interfaceCoreListener
- Parameters:
core
-Core
objectchatRoom
-ChatRoom
involved in this conversation. Can be be
created by the framework in case the from-URI is not present in any chat room.
message
-ChatMessage
incoming message
-
onIsComposingReceived
Description copied from interface:CoreListener
Is composing notification callback prototype.
- Specified by:
onIsComposingReceived
in interfaceCoreListener
- Parameters:
core
-Core
objectchatRoom
-ChatRoom
involved in the conversation.
-
onDtmfReceived
Description copied from interface:CoreListener
Callback for being notified of DTMFs received.
- Specified by:
onDtmfReceived
in interfaceCoreListener
- Parameters:
core
- the LinphoneCorecall
- the LinphoneCall that received the dtmfdtmf
- the ascii code of the dtmf
-
onReferReceived
Description copied from interface:CoreListener
Callback prototype for when a refer is received.
- Specified by:
onReferReceived
in interfaceCoreListener
- Parameters:
core
- theCore
referTo
- the address of the refer
-
onCallGoclearAckSent
Description copied from interface:CoreListener
GoClear ACK sent on call callback.
- Specified by:
onCallGoclearAckSent
in interfaceCoreListener
- Parameters:
core
- theCore
call
- theCall
on which the GoClear ACK was sent.
-
onCallEncryptionChanged
public void onCallEncryptionChanged(@NonNull Core core, @NonNull Call call, boolean mediaEncryptionEnabled, @Nullable String authenticationToken) Description copied from interface:CoreListener
Call encryption changed callback.
- Specified by:
onCallEncryptionChanged
in interfaceCoreListener
- Parameters:
core
- theCore
call
- theCall
on which encryption is changed.mediaEncryptionEnabled
- whether encryption is activated.authenticationToken
- an authentication token, currently set for ZRTP kind
of encryption only.
-
onCallSendMasterKeyChanged
public void onCallSendMasterKeyChanged(@NonNull Core core, @NonNull Call call, @Nullable String masterKey) Description copied from interface:CoreListener
Call send master key changed callback.
- Specified by:
onCallSendMasterKeyChanged
in interfaceCoreListener
- Parameters:
core
- theCore
call
- theCall
on which the GoClear ACK was sent.masterKey
- new master key.
-
onCallReceiveMasterKeyChanged
public void onCallReceiveMasterKeyChanged(@NonNull Core core, @NonNull Call call, @Nullable String masterKey) Description copied from interface:CoreListener
Call receive master key changed callback.
- Specified by:
onCallReceiveMasterKeyChanged
in interfaceCoreListener
- Parameters:
core
- theCore
call
- theCall
on which the GoClear ACK was sent.masterKey
- new master key.
-
onTransferStateChanged
public void onTransferStateChanged(@NonNull Core core, @NonNull Call transfered, Call.State callState) Description copied from interface:CoreListener
Callback for notifying progresses of transfers.
- Specified by:
onTransferStateChanged
in interfaceCoreListener
- Parameters:
core
- the LinphoneCoretransfered
- the LinphoneCall that was transferedcallState
- the LinphoneCallState of the call to transfer target at the
far end.
-
onBuddyInfoUpdated
Description copied from interface:CoreListener
Callback prototype when using the buddy plugin.
- Specified by:
onBuddyInfoUpdated
in interfaceCoreListener
- Parameters:
core
- theCore
linphoneFriend
- theFriend
that has been updated
-
onCallStatsUpdated
public void onCallStatsUpdated(@NonNull Core core, @NonNull Call call, @NonNull CallStats callStats) Description copied from interface:CoreListener
Callback for receiving quality statistics for calls.
- Specified by:
onCallStatsUpdated
in interfaceCoreListener
- Parameters:
core
- theCore
call
- theCall
callStats
- theCallStats
statistics.
-
onInfoReceived
Description copied from interface:CoreListener
Callback prototype for receiving info messages.
- Specified by:
onInfoReceived
in interfaceCoreListener
- Parameters:
core
- theCore
call
- the call whose info message belongs to.message
- the info message.
-
onSubscriptionStateChanged
public void onSubscriptionStateChanged(@NonNull Core core, @NonNull Event linphoneEvent, SubscriptionState state) Description copied from interface:CoreListener
Callback prototype for notifying the application about changes of subscription
states, including arrival of new subscriptions.
- Specified by:
onSubscriptionStateChanged
in interfaceCoreListener
- Parameters:
core
-Core
objectlinphoneEvent
- theEvent
state
- the newSubscriptionState
-
onNotifySent
Description copied from interface:CoreListener
Callback prototype for notifying the application about notification that is
being sent.
- Specified by:
onNotifySent
in interfaceCoreListener
- Parameters:
core
-Core
objectlinphoneEvent
- theEvent
receivedbody
- theContent
of the event
-
onNotifyReceived
public void onNotifyReceived(@NonNull Core core, @NonNull Event linphoneEvent, @NonNull String notifiedEvent, @Nullable Content body) Description copied from interface:CoreListener
Callback prototype for notifying the application about notification received
from the network.
- Specified by:
onNotifyReceived
in interfaceCoreListener
- Parameters:
core
-Core
objectlinphoneEvent
- theEvent
receivednotifiedEvent
- The event as stringbody
- theContent
of the event
-
onSubscribeReceived
public void onSubscribeReceived(@NonNull Core core, @NonNull Event linphoneEvent, @NonNull String subscribeEvent, @Nullable Content body) Description copied from interface:CoreListener
Callback prototype for notifying the application about subscription received
from the network.
- Specified by:
onSubscribeReceived
in interfaceCoreListener
- Parameters:
core
-Core
objectlinphoneEvent
- theEvent
receivedsubscribeEvent
- The event as stringbody
- theContent
of the event
-
onPublishStateChanged
public void onPublishStateChanged(@NonNull Core core, @NonNull Event linphoneEvent, PublishState state) Description copied from interface:CoreListener
Callback prototype for notifying the application about changes of publish
states.
- Specified by:
onPublishStateChanged
in interfaceCoreListener
- Parameters:
core
-Core
objectlinphoneEvent
- theEvent
state
- the newPublishState
-
onPublishReceived
public void onPublishReceived(@NonNull Core core, @NonNull Event linphoneEvent, @NonNull String publishEvent, @Nullable Content body) Description copied from interface:CoreListener
Callback prototype for notifying the application about publish received from
the network.
- Specified by:
onPublishReceived
in interfaceCoreListener
- Parameters:
core
-Core
objectlinphoneEvent
- theEvent
receivedpublishEvent
- The event as stringbody
- theContent
of the event
-
onConfiguringStatus
public void onConfiguringStatus(@NonNull Core core, ConfiguringState status, @Nullable String message) Description copied from interface:CoreListener
Callback prototype for configuring status changes notification.
- Specified by:
onConfiguringStatus
in interfaceCoreListener
- Parameters:
core
- theCore
status
- the currentConfiguringState
message
- informational message.
-
onNetworkReachable
Description copied from interface:CoreListener
Callback prototype for reporting network change either automatically detected
or notified byCore.setNetworkReachable(boolean)
.
- Specified by:
onNetworkReachable
in interfaceCoreListener
- Parameters:
core
- theCore
reachable
- true if network is reachable.
-
onLogCollectionUploadStateChanged
public void onLogCollectionUploadStateChanged(@NonNull Core core, Core.LogCollectionUploadState state, @NonNull String info) Description copied from interface:CoreListener
Callback prototype for reporting log collection upload state change.
- Specified by:
onLogCollectionUploadStateChanged
in interfaceCoreListener
- Parameters:
core
-Core
objectstate
- The state of the log collection uploadinfo
- Additional information: error message in case of error state, URL
of uploaded file in case of success.
-
onLogCollectionUploadProgressIndication
Description copied from interface:CoreListener
Callback prototype for reporting log collection upload progress indication.
- Specified by:
onLogCollectionUploadProgressIndication
in interfaceCoreListener
- Parameters:
core
-Core
objectoffset
- the number of bytes sent since the start of the uploadtotal
- the total number of bytes to upload
-
onFriendListCreated
Description copied from interface:CoreListener
Callback prototype for reporting when a friend list has been added to the core
friend lists.
- Specified by:
onFriendListCreated
in interfaceCoreListener
- Parameters:
core
-Core
objectfriendList
-FriendList
object
-
onFriendListRemoved
Description copied from interface:CoreListener
Callback prototype for reporting when a friend list has been removed from the
core friend lists.
- Specified by:
onFriendListRemoved
in interfaceCoreListener
- Parameters:
core
-Core
objectfriendList
-FriendList
object
-
onCallCreated
Description copied from interface:CoreListener
- Specified by:
onCallCreated
in interfaceCoreListener
- Parameters:
core
-Core
object that has created the callcall
- The newly createdCall
object
-
onVersionUpdateCheckResultReceived
public void onVersionUpdateCheckResultReceived(@NonNull Core core, @NonNull VersionUpdateCheckResult result, String version, @Nullable String url) Description copied from interface:CoreListener
Callback prototype for reporting the result of a version update check.
- Specified by:
onVersionUpdateCheckResultReceived
in interfaceCoreListener
- Parameters:
core
-Core
objectresult
- The result of the version update checkurl
- The url where to download the new version if the result is
#LinphoneVersionUpdateCheckNewVersionAvailable
-
onConferenceStateChanged
public void onConferenceStateChanged(@NonNull Core core, @NonNull Conference conference, Conference.State state) Description copied from interface:CoreListener
- Specified by:
onConferenceStateChanged
in interfaceCoreListener
- Parameters:
core
-Core
objectconference
- TheConference
object for which the state has changed
state
- the currentChatRoom#State
-
onChatRoomStateChanged
public void onChatRoomStateChanged(@NonNull Core core, @NonNull ChatRoom chatRoom, ChatRoom.State state) Description copied from interface:CoreListener
- Specified by:
onChatRoomStateChanged
in interfaceCoreListener
- Parameters:
core
-Core
objectchatRoom
- TheChatRoom
object for which the state has changedstate
- the currentChatRoom#State
-
onChatRoomSubjectChanged
Description copied from interface:CoreListener
- Specified by:
onChatRoomSubjectChanged
in interfaceCoreListener
- Parameters:
core
-Core
objectchatRoom
- TheChatRoom
object for which the subject has changed
-
onChatRoomEphemeralMessageDeleted
Description copied from interface:CoreListener
- Specified by:
onChatRoomEphemeralMessageDeleted
in interfaceCoreListener
- Parameters:
core
-Core
objectchatRoom
- TheChatRoom
object for which a message has expired.
-
onImeeUserRegistration
public void onImeeUserRegistration(@NonNull Core core, boolean status, @NonNull String userId, @NonNull String info) Description copied from interface:CoreListener
Callback prototype telling that an Instant Message Encryption Engine user
registered on the server with or without success.
- Specified by:
onImeeUserRegistration
in interfaceCoreListener
- Parameters:
core
-Core
objectstatus
- the return status of the registration action.userId
- the userId published on the encryption engine serverinfo
- information about failure
-
onQrcodeFound
Description copied from interface:CoreListener
Callback prototype telling the result of decoded qrcode.
- Specified by:
onQrcodeFound
in interfaceCoreListener
- Parameters:
core
-Core
objectresult
- The result of the decoded qrcode
-
onFirstCallStarted
Description copied from interface:CoreListener
Callback prototype telling a call has started (incoming or outgoing) while
there was no other call.
- Specified by:
onFirstCallStarted
in interfaceCoreListener
- Parameters:
core
-Core
object
-
onLastCallEnded
Description copied from interface:CoreListener
- Specified by:
onLastCallEnded
in interfaceCoreListener
- Parameters:
core
-Core
object
-
onAudioDeviceChanged
Description copied from interface:CoreListener
Callback prototype telling that the audio device for at least one call has
changed.
- Specified by:
onAudioDeviceChanged
in interfaceCoreListener
- Parameters:
core
- LinphoneCore objectaudioDevice
- the newly used LinphoneAudioDevice object
-
onAudioDevicesListUpdated
Description copied from interface:CoreListener
Callback prototype telling the audio devices list has been updated.
Either a new device is available or a previously available device isn't
anymore. You can callCore.getAudioDevices()
to get the new list.- Specified by:
onAudioDevicesListUpdated
in interfaceCoreListener
- Parameters:
core
-Core
object
-
onEcCalibrationResult
Description copied from interface:CoreListener
Function prototype used by linphone_core_cbs_set_ec_calibration_result.
- Specified by:
onEcCalibrationResult
in interfaceCoreListener
- Parameters:
core
- TheCore
.status
- TheEcCalibratorStatus
of the calibrator.delayMs
- The measured delay if available.
-
onEcCalibrationAudioInit
Description copied from interface:CoreListener
Function prototype used by linphone_core_cbs_set_ec_calibration_audio_init.
- Specified by:
onEcCalibrationAudioInit
in interfaceCoreListener
- Parameters:
core
- TheCore
.
-
onEcCalibrationAudioUninit
Description copied from interface:CoreListener
Function prototype used by linphone_core_cbs_set_ec_calibration_audio_uninit.
- Specified by:
onEcCalibrationAudioUninit
in interfaceCoreListener
- Parameters:
core
- TheCore
.
-
onAccountRegistrationStateChanged
public void onAccountRegistrationStateChanged(@NonNull Core core, @NonNull Account account, RegistrationState state, @NonNull String message) Description copied from interface:CoreListener
- Specified by:
onAccountRegistrationStateChanged
in interfaceCoreListener
- Parameters:
core
- TheCore
object.account
- TheAccount
object which has its registration changed.state
- The newRegistrationState
for this account.message
- a non null informational message about the state
-
onDefaultAccountChanged
Description copied from interface:CoreListener
Default account changed callback prototype.
- Specified by:
onDefaultAccountChanged
in interfaceCoreListener
- Parameters:
core
-Core
objectaccount
-Account
object that has been set as the default account,
probably by callingCore.setDefaultAccount(org.linphone.core.Account)
, or null if the default
account was removed.
-
onAccountAdded
Description copied from interface:CoreListener
Account added callback prototype.
- Specified by:
onAccountAdded
in interfaceCoreListener
- Parameters:
core
-Core
objectaccount
-Account
object that has been added to the Core using
Core.addAccount(org.linphone.core.Account)
for example.
-
onAccountRemoved
Description copied from interface:CoreListener
Account removed callback prototype.
- Specified by:
onAccountRemoved
in interfaceCoreListener
- Parameters:
core
-Core
objectaccount
-Account
object that has been added to the Core using
Core.removeAccount(org.linphone.core.Account)
for example.
-
onNewAlertTriggered
Description copied from interface:CoreListener
Callback for notifying about an alert (e.g on Qos)
- Specified by:
onNewAlertTriggered
in interfaceCoreListener
- Parameters:
core
-Core
objectalert
-Alert
to notify
-