public interface CoreListener
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 |
onChatRoomStateChanged(Core lc,
ChatRoom cr,
ChatRoom.State state)
Callback prototype telling that a LinphoneChatRoom state 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 |
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.
|
void onTransferStateChanged(Core lc, Call transfered, Call.State newCallState)
void onFriendListCreated(Core lc, FriendList list)
void onSubscriptionStateChanged(Core lc, Event lev, SubscriptionState state)
void onCallLogUpdated(Core lc, CallLog newcl)
void onCallStateChanged(Core lc, Call call, Call.State cstate, java.lang.String message)
void onAuthenticationRequested(Core lc, AuthInfo authInfo, AuthMethod method)
void onNotifyPresenceReceivedForUriOrTel(Core lc, Friend lf, java.lang.String uriOrTel, PresenceModel presenceModel)
void onChatRoomStateChanged(Core lc, ChatRoom cr, ChatRoom.State state)
void onNetworkReachable(Core lc, boolean reachable)
void onNotifyReceived(Core lc, Event lev, java.lang.String notifiedEvent, Content body)
void onNewSubscriptionRequested(Core lc, Friend lf, java.lang.String url)
void onRegistrationStateChanged(Core lc, ProxyConfig cfg, RegistrationState cstate, java.lang.String message)
void onNotifyPresenceReceived(Core lc, Friend lf)
void onEcCalibrationAudioInit(Core lc)
void onMessageReceived(Core lc, ChatRoom room, ChatMessage message)
void onEcCalibrationResult(Core lc, EcCalibratorStatus status, int delayMs)
void onSubscribeReceived(Core lc, Event lev, java.lang.String subscribeEvent, Content body)
void onInfoReceived(Core lc, Call call, InfoMessage msg)
void onCallStatsUpdated(Core lc, Call call, CallStats stats)
void onFriendListRemoved(Core lc, FriendList list)
void onReferReceived(Core lc, java.lang.String referTo)
void onQrcodeFound(Core lc, java.lang.String result)
void onConfiguringStatus(Core lc, ConfiguringState status, java.lang.String message)
void onCallCreated(Core lc, Call call)
void onPublishStateChanged(Core lc, Event lev, PublishState state)
void onCallEncryptionChanged(Core lc, Call call, boolean on, java.lang.String authenticationToken)
void onIsComposingReceived(Core lc, ChatRoom room)
void onMessageReceivedUnableDecrypt(Core lc, ChatRoom room, ChatMessage message)
void onLogCollectionUploadProgressIndication(Core lc, int offset, int total)
void onVersionUpdateCheckResultReceived(Core lc, VersionUpdateCheckResult result, java.lang.String version, java.lang.String url)
void onEcCalibrationAudioUninit(Core lc)
void onGlobalStateChanged(Core lc, GlobalState gstate, java.lang.String message)
void onLogCollectionUploadStateChanged(Core lc, Core.LogCollectionUploadState state, java.lang.String info)