public class CoreListenerStub extends java.lang.Object implements CoreListener
Constructor and Description |
---|
CoreListenerStub() |
Modifier and Type | Method and Description |
---|---|
void |
onAuthenticationRequested(Core lc,
AuthInfo authInfo,
AuthMethod method)
Callback for requesting authentication information to application or user.
|
void |
onBuddyInfoUpdated(Core lc,
Friend lf)
Callback prototype.
|
void |
onCallCreated(Core lc,
Call call)
Callback notifying that a new LinphoneCall (either incoming or outgoing) has
been created.
|
void |
onCallEncryptionChanged(Core lc,
Call call,
boolean on,
java.lang.String authenticationToken)
Call encryption changed callback.
|
void |
onCallLogUpdated(Core lc,
CallLog newcl)
Callback to notify a new call-log entry has been added.
|
void |
onCallStateChanged(Core lc,
Call call,
Call.State cstate,
java.lang.String message)
Call state notification callback.
|
void |
onCallStatsUpdated(Core lc,
Call call,
CallStats stats)
Callback for receiving quality statistics for calls.
|
void |
onChatRoomEphemeralMessageDeleted(Core lc,
ChatRoom cr)
Callback prototype telling that a LinphoneChatRoom ephemeral message has
expired.
|
void |
onChatRoomRead(Core lc,
ChatRoom room)
Chat room marked as read callback.
|
void |
onChatRoomStateChanged(Core lc,
ChatRoom cr,
ChatRoom.State state)
Callback prototype telling that a LinphoneChatRoom state has changed.
|
void |
onChatRoomSubjectChanged(Core lc,
ChatRoom cr)
Callback prototype telling that a LinphoneChatRoom subject has changed.
|
void |
onConfiguringStatus(Core lc,
ConfiguringState status,
java.lang.String message)
Callback prototype for configuring status changes notification.
|
void |
onDtmfReceived(Core lc,
Call call,
int dtmf)
Callback for being notified of DTMFs received.
|
void |
onEcCalibrationAudioInit(Core lc)
Function prototype used by #linphone_core_cbs_set_ec_calibrator_audio_init().
|
void |
onEcCalibrationAudioUninit(Core lc)
Function prototype used by #linphone_core_cbs_set_ec_calibrator_audio_uninit().
|
void |
onEcCalibrationResult(Core lc,
EcCalibratorStatus status,
int delayMs)
Function prototype used by #linphone_core_cbs_set_ec_calibrator_result().
|
void |
onFriendListCreated(Core lc,
FriendList list)
Callback prototype for reporting when a friend list has been added to the core
friends list.
|
void |
onFriendListRemoved(Core lc,
FriendList list)
Callback prototype for reporting when a friend list has been removed from the
core friends list.
|
void |
onGlobalStateChanged(Core lc,
GlobalState gstate,
java.lang.String message)
Global state notification callback.
|
void |
onInfoReceived(Core lc,
Call call,
InfoMessage msg)
Callback prototype for receiving info messages.
|
void |
onIsComposingReceived(Core lc,
ChatRoom room)
Is composing notification callback prototype.
|
void |
onLogCollectionUploadProgressIndication(Core lc,
int offset,
int total)
Callback prototype for reporting log collection upload progress indication.
|
void |
onLogCollectionUploadStateChanged(Core lc,
Core.LogCollectionUploadState state,
java.lang.String info)
Callback prototype for reporting log collection upload state change.
|
void |
onMessageReceived(Core lc,
ChatRoom room,
ChatMessage message)
Chat message callback prototype.
|
void |
onMessageReceivedUnableDecrypt(Core lc,
ChatRoom room,
ChatMessage message)
Chat message not decrypted callback prototype.
|
void |
onMessageSent(Core lc,
ChatRoom room,
ChatMessage message)
Called after the #send method of the LinphoneChatMessage was called.
|
void |
onNetworkReachable(Core lc,
boolean reachable)
Callback prototype for reporting network change either automatically detected
or notified by linphone_core_set_network_reachable.
|
void |
onNewSubscriptionRequested(Core lc,
Friend lf,
java.lang.String url)
Reports that a new subscription request has been received and wait for a
decision.
|
void |
onNotifyPresenceReceived(Core lc,
Friend lf)
Report status change for a friend previously added to LinphoneCore.
|
void |
onNotifyPresenceReceivedForUriOrTel(Core lc,
Friend lf,
java.lang.String uriOrTel,
PresenceModel presenceModel)
Reports presence model change for a specific URI or phone number of a friend.
|
void |
onNotifyReceived(Core lc,
Event lev,
java.lang.String notifiedEvent,
Content body)
Callback prototype for notifying the application about notification received
from the network.
|
void |
onPublishStateChanged(Core lc,
Event lev,
PublishState state)
Callback prototype for notifying the application about changes of publish
states.
|
void |
onQrcodeFound(Core lc,
java.lang.String result)
Callback prototype telling the result of decoded qrcode.
|
void |
onReferReceived(Core lc,
java.lang.String referTo)
Callback prototype.
|
void |
onRegistrationStateChanged(Core lc,
ProxyConfig cfg,
RegistrationState cstate,
java.lang.String message)
Registration state notification callback prototype.
|
void |
onSubscribeReceived(Core lc,
Event lev,
java.lang.String subscribeEvent,
Content body)
Callback prototype for notifying the application about subscription received
from the network.
|
void |
onSubscriptionStateChanged(Core lc,
Event lev,
SubscriptionState state)
Callback prototype for notifying the application about changes of subscription
states, including arrival of new subscriptions.
|
void |
onTransferStateChanged(Core lc,
Call transfered,
Call.State newCallState)
Callback for notifying progresses of transfers.
|
void |
onVersionUpdateCheckResultReceived(Core lc,
VersionUpdateCheckResult result,
java.lang.String version,
java.lang.String url)
Callback prototype for reporting the result of a version update check.
|
public void onTransferStateChanged(Core lc, Call transfered, Call.State newCallState)
CoreListener
onTransferStateChanged
in interface CoreListener
newCallState
- the state of the call to transfer target at the far end.public void onFriendListCreated(Core lc, FriendList list)
CoreListener
onFriendListCreated
in interface CoreListener
list
- LinphoneFriendList objectpublic void onSubscriptionStateChanged(Core lc, Event lev, SubscriptionState state)
CoreListener
onSubscriptionStateChanged
in interface CoreListener
public void onCallLogUpdated(Core lc, CallLog newcl)
CoreListener
onCallLogUpdated
in interface CoreListener
newcl
- the new call log entry added.public void onCallStateChanged(Core lc, Call call, Call.State cstate, java.lang.String message)
CoreListener
onCallStateChanged
in interface CoreListener
message
- a non null informational message about the state.public void onAuthenticationRequested(Core lc, AuthInfo authInfo, AuthMethod method)
CoreListener
onAuthenticationRequested
in interface CoreListener
method
- the type of authentication requested Application shall reply to
this callback using linphone_core_add_auth_info.public void onNotifyPresenceReceivedForUriOrTel(Core lc, Friend lf, java.lang.String uriOrTel, PresenceModel presenceModel)
CoreListener
onNotifyPresenceReceivedForUriOrTel
in interface CoreListener
presenceModel
- The new presence modelpublic void onChatRoomStateChanged(Core lc, ChatRoom cr, ChatRoom.State state)
CoreListener
onChatRoomStateChanged
in interface CoreListener
cr
- The LinphoneChatRoom object for which the state has changedpublic void onBuddyInfoUpdated(Core lc, Friend lf)
CoreListener
onBuddyInfoUpdated
in interface CoreListener
public void onNetworkReachable(Core lc, boolean reachable)
CoreListener
onNetworkReachable
in interface CoreListener
reachable
- true if network is reachable.public void onNotifyReceived(Core lc, Event lev, java.lang.String notifiedEvent, Content body)
CoreListener
onNotifyReceived
in interface CoreListener
public void onNewSubscriptionRequested(Core lc, Friend lf, java.lang.String url)
CoreListener
onNewSubscriptionRequested
in interface CoreListener
url
- of the subscriberpublic void onCallStatsUpdated(Core lc, Call call, CallStats stats)
CoreListener
onCallStatsUpdated
in interface CoreListener
stats
- the call statistics.public void onNotifyPresenceReceived(Core lc, Friend lf)
CoreListener
onNotifyPresenceReceived
in interface CoreListener
lf
- Updated LinphoneFriend .public void onEcCalibrationAudioInit(Core lc)
CoreListener
onEcCalibrationAudioInit
in interface CoreListener
lc
- The core.public void onMessageReceived(Core lc, ChatRoom room, ChatMessage message)
CoreListener
onMessageReceived
in interface CoreListener
room
- LinphoneChatRoom involved in this conversation. Can be be created
by the framework in case the from is not present in any chat room.public void onEcCalibrationResult(Core lc, EcCalibratorStatus status, int delayMs)
CoreListener
onEcCalibrationResult
in interface CoreListener
delayMs
- The measured delay if available.public void onSubscribeReceived(Core lc, Event lev, java.lang.String subscribeEvent, Content body)
CoreListener
onSubscribeReceived
in interface CoreListener
public void onInfoReceived(Core lc, Call call, InfoMessage msg)
CoreListener
onInfoReceived
in interface CoreListener
msg
- the info message.public void onChatRoomRead(Core lc, ChatRoom room)
CoreListener
onChatRoomRead
in interface CoreListener
room
- LinphoneChatRoom that has been marked as read.public void onRegistrationStateChanged(Core lc, ProxyConfig cfg, RegistrationState cstate, java.lang.String message)
CoreListener
onRegistrationStateChanged
in interface CoreListener
public void onFriendListRemoved(Core lc, FriendList list)
CoreListener
onFriendListRemoved
in interface CoreListener
list
- LinphoneFriendList objectpublic void onReferReceived(Core lc, java.lang.String referTo)
CoreListener
onReferReceived
in interface CoreListener
public void onQrcodeFound(Core lc, java.lang.String result)
CoreListener
onQrcodeFound
in interface CoreListener
result
- The result of the decoded qrcodepublic void onConfiguringStatus(Core lc, ConfiguringState status, java.lang.String message)
CoreListener
onConfiguringStatus
in interface CoreListener
message
- informational message.public void onCallCreated(Core lc, Call call)
CoreListener
onCallCreated
in interface CoreListener
call
- The newly created LinphoneCall objectpublic void onPublishStateChanged(Core lc, Event lev, PublishState state)
CoreListener
onPublishStateChanged
in interface CoreListener
public void onCallEncryptionChanged(Core lc, Call call, boolean on, java.lang.String authenticationToken)
CoreListener
onCallEncryptionChanged
in interface CoreListener
authenticationToken
- an authentication_token, currently set for ZRTP kind
of encryption only.public void onIsComposingReceived(Core lc, ChatRoom room)
CoreListener
onIsComposingReceived
in interface CoreListener
room
- LinphoneChatRoom involved in the conversation.public void onMessageReceivedUnableDecrypt(Core lc, ChatRoom room, ChatMessage message)
CoreListener
onMessageReceivedUnableDecrypt
in interface CoreListener
room
- LinphoneChatRoom involved in this conversation. Can be be created
by the framework in case the from is not present in any chat room.public void onLogCollectionUploadProgressIndication(Core lc, int offset, int total)
CoreListener
onLogCollectionUploadProgressIndication
in interface CoreListener
lc
- LinphoneCore objectpublic void onChatRoomSubjectChanged(Core lc, ChatRoom cr)
CoreListener
onChatRoomSubjectChanged
in interface CoreListener
cr
- The LinphoneChatRoom object for which the subject has changedpublic void onVersionUpdateCheckResultReceived(Core lc, VersionUpdateCheckResult result, java.lang.String version, java.lang.String url)
CoreListener
onVersionUpdateCheckResultReceived
in interface CoreListener
url
- The url where to download the new version if the result is
#LinphoneVersionUpdateCheckNewVersionAvailablepublic void onEcCalibrationAudioUninit(Core lc)
CoreListener
onEcCalibrationAudioUninit
in interface CoreListener
lc
- The core.public void onGlobalStateChanged(Core lc, GlobalState gstate, java.lang.String message)
CoreListener
onGlobalStateChanged
in interface CoreListener
message
- informational message.public void onLogCollectionUploadStateChanged(Core lc, Core.LogCollectionUploadState state, java.lang.String info)
CoreListener
onLogCollectionUploadStateChanged
in interface CoreListener
info
- Additional information: error message in case of error state, URL
of uploaded file in case of success.public void onDtmfReceived(Core lc, Call call, int dtmf)
CoreListener
onDtmfReceived
in interface CoreListener
dtmf
- the ascii code of the dtmfpublic void onChatRoomEphemeralMessageDeleted(Core lc, ChatRoom cr)
CoreListener
onChatRoomEphemeralMessageDeleted
in interface CoreListener
cr
- The LinphoneChatRoom object for which a message has expired.public void onMessageSent(Core lc, ChatRoom room, ChatMessage message)
CoreListener
onMessageSent
in interface CoreListener
room
- LinphoneChatRoom involved in this conversation. Can be be created
by the framework in case the from is not present in any chat room.