Class CoreListenerStub

java.lang.Object
org.linphone.core.CoreListenerStub
All Implemented Interfaces:
CoreListener

public class CoreListenerStub extends Object implements CoreListener
  • Constructor Details

    • CoreListenerStub

      public CoreListenerStub()
  • Method Details

    • onGlobalStateChanged

      public void onGlobalStateChanged(@NonNull Core core, GlobalState state, @NonNull String message)
      Description copied from interface: CoreListener
      Global state notification callback.

      Specified by:
      onGlobalStateChanged in interface CoreListener
      Parameters:
      core - the Core.
      state - the GlobalState
      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 interface CoreListener
      Parameters:
      core - the Core
      proxyConfig - the ProxyConfig which state has changed
      state - the current RegistrationState
      message - a non null informational message about the state
    • onConferenceInfoReceived

      public void onConferenceInfoReceived(@NonNull Core core, @NonNull ConferenceInfo conferenceInfo)
      Description copied from interface: CoreListener
      Callback prototype for notifying the application about a received conference
      info.

      Specified by:
      onConferenceInfoReceived in interface CoreListener
      Parameters:
      core - Core object
      conferenceInfo - the ConferenceInfo received
    • onPushNotificationReceived

      public void onPushNotificationReceived(@NonNull Core core, @Nullable String payload)
      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 interface CoreListener
      Parameters:
      core - Core object
      payload - the body of the push notification, if any
    • onPreviewDisplayErrorOccurred

      public void onPreviewDisplayErrorOccurred(@NonNull Core core, int errorCode)
      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 interface CoreListener
      Parameters:
      core - Core object
      errorCode - 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 interface CoreListener
      Parameters:
      core - the Core
      call - the Call object whose state is changed.
      state - the new Call#State of the call
      message - a non null informational message about the state.
    • onNotifyPresenceReceived

      public void onNotifyPresenceReceived(@NonNull Core core, @NonNull Friend linphoneFriend)
      Description copied from interface: CoreListener
      Report status change for a friend previously added to the Core with
      linphone_core_add_friend().

      Specified by:
      onNotifyPresenceReceived in interface CoreListener
      Parameters:
      core - Core object
      linphoneFriend - Updated Friend
    • 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 interface CoreListener
      Parameters:
      core - Core object
      linphoneFriend - Friend object
      uriOrTel - The URI or phone number for which the presence model has
      changed
      presenceModel - The new PresenceModel
    • 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 the SubscribePolicy
      for the given Friend has been set to SubscribePolicy.SPWait.
      See Friend.setIncSubscribePolicy(org.linphone.core.SubscribePolicy).
      Specified by:
      onNewSubscriptionRequested in interface CoreListener
      Parameters:
      core - Core object
      linphoneFriend - The Friend 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 interface CoreListener
      Parameters:
      core - the Core
      authInfo - a AuthInfo pre-filled with username, realm and domain
      values as much as possible
      method - the type of authentication requested as AuthMethod enum
      Application shall reply to this callback using Core.addAuthInfo(org.linphone.core.AuthInfo).
    • onCallLogUpdated

      public void onCallLogUpdated(@NonNull Core core, @NonNull CallLog callLog)
      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 interface CoreListener
      Parameters:
      core - the Core
      callLog - the new CallLog 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 interface CoreListener
      Parameters:
      core - the Core
      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 interface CoreListener
      Parameters:
      core - Core object
      chatRoom - 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 interface CoreListener
      Parameters:
      core - Core object
      chatRoom - ChatRoom involved in this conversation. Can be created
      by the framework in case the From-URI is not present in any chat room.
      message - the ChatMessage to which the reaction applies to
      reaction - the ChatMessageReaction 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 interface CoreListener
      Parameters:
      core - Core object
      chatRoom - ChatRoom involved in this conversation. Can be created
      by the framework in case the From-URI is not present in any chat room.
      message - the ChatMessage to which a reaction has been removed
      from
      address - the Address 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 using Core.setChatMessagesAggregationEnabled(boolean)), it replaces the
      single message received callback.
      Specified by:
      onMessagesReceived in interface CoreListener
      Parameters:
      core - Core object
      chatRoom - 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 the ChatMessage.send() was called.

      The message will be in state InProgress. In case of resend this callback won't
      be called.
      Specified by:
      onMessageSent in interface CoreListener
      Parameters:
      core - Core object
      chatRoom - 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 interface CoreListener
      Parameters:
      core - Core object
      chatRoom - ChatRoom that has been marked as read.
      state - the new Call#State of the call
      message - a non null informational message about the state.
    • onChatRoomRead

      public void onChatRoomRead(@NonNull Core core, @NonNull ChatRoom chatRoom)
      Description copied from interface: CoreListener
      Chat room marked as read callback.

      Specified by:
      onChatRoomRead in interface CoreListener
      Parameters:
      core - Core object
      chatRoom - 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 interface CoreListener
      Parameters:
      core - Core object
      chatRoom - 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

      public void onIsComposingReceived(@NonNull Core core, @NonNull ChatRoom chatRoom)
      Description copied from interface: CoreListener
      Is composing notification callback prototype.

      Specified by:
      onIsComposingReceived in interface CoreListener
      Parameters:
      core - Core object
      chatRoom - ChatRoom involved in the conversation.
    • onDtmfReceived

      public void onDtmfReceived(@NonNull Core core, @NonNull Call call, int dtmf)
      Description copied from interface: CoreListener
      Callback for being notified of DTMFs received.

      Specified by:
      onDtmfReceived in interface CoreListener
      Parameters:
      core - the LinphoneCore
      call - the LinphoneCall that received the dtmf
      dtmf - the ascii code of the dtmf
    • onReferReceived

      public void onReferReceived(@NonNull Core core, @NonNull String referTo)
      Description copied from interface: CoreListener
      Callback prototype for when a refer is received.

      Specified by:
      onReferReceived in interface CoreListener
      Parameters:
      core - the Core
      referTo - the address of the refer
    • onCallGoclearAckSent

      public void onCallGoclearAckSent(@NonNull Core core, @NonNull Call call)
      Description copied from interface: CoreListener
      GoClear ACK sent on call callback.

      Specified by:
      onCallGoclearAckSent in interface CoreListener
      Parameters:
      core - the Core
      call - the Call 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 interface CoreListener
      Parameters:
      core - the Core
      call - the Call 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 interface CoreListener
      Parameters:
      core - the Core
      call - the Call 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 interface CoreListener
      Parameters:
      core - the Core
      call - the Call 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 interface CoreListener
      Parameters:
      core - the LinphoneCore
      transfered - the LinphoneCall that was transfered
      callState - the LinphoneCallState of the call to transfer target at the
      far end.
    • onBuddyInfoUpdated

      public void onBuddyInfoUpdated(@NonNull Core core, @NonNull Friend linphoneFriend)
      Description copied from interface: CoreListener
      Callback prototype when using the buddy plugin.

      Specified by:
      onBuddyInfoUpdated in interface CoreListener
      Parameters:
      core - the Core
      linphoneFriend - the Friend 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 interface CoreListener
      Parameters:
      core - the Core
      call - the Call
      callStats - the CallStats statistics.
    • onInfoReceived

      public void onInfoReceived(@NonNull Core core, @NonNull Call call, @NonNull InfoMessage message)
      Description copied from interface: CoreListener
      Callback prototype for receiving info messages.

      Specified by:
      onInfoReceived in interface CoreListener
      Parameters:
      core - the Core
      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 interface CoreListener
      Parameters:
      core - Core object
      linphoneEvent - the Event
      state - the new SubscriptionState
    • onNotifySent

      public void onNotifySent(@NonNull Core core, @NonNull Event linphoneEvent, @Nullable Content body)
      Description copied from interface: CoreListener
      Callback prototype for notifying the application about notification that is
      being sent.

      Specified by:
      onNotifySent in interface CoreListener
      Parameters:
      core - Core object
      linphoneEvent - the Event received
      body - the Content 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 interface CoreListener
      Parameters:
      core - Core object
      linphoneEvent - the Event received
      notifiedEvent - The event as string
      body - the Content 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 interface CoreListener
      Parameters:
      core - Core object
      linphoneEvent - the Event received
      subscribeEvent - The event as string
      body - the Content 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 interface CoreListener
      Parameters:
      core - Core object
      linphoneEvent - the Event
      state - the new PublishState
    • 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 interface CoreListener
      Parameters:
      core - Core object
      linphoneEvent - the Event received
      publishEvent - The event as string
      body - the Content 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 interface CoreListener
      Parameters:
      core - the Core
      status - the current ConfiguringState
      message - informational message.
    • onNetworkReachable

      public void onNetworkReachable(@NonNull Core core, boolean reachable)
      Description copied from interface: CoreListener
      Callback prototype for reporting network change either automatically detected
      or notified by Core.setNetworkReachable(boolean).

      Specified by:
      onNetworkReachable in interface CoreListener
      Parameters:
      core - the Core
      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 interface CoreListener
      Parameters:
      core - Core object
      state - The state of the log collection upload
      info - Additional information: error message in case of error state, URL
      of uploaded file in case of success.
    • onLogCollectionUploadProgressIndication

      public void onLogCollectionUploadProgressIndication(@NonNull Core core, int offset, int total)
      Description copied from interface: CoreListener
      Callback prototype for reporting log collection upload progress indication.

      Specified by:
      onLogCollectionUploadProgressIndication in interface CoreListener
      Parameters:
      core - Core object
      offset - the number of bytes sent since the start of the upload
      total - the total number of bytes to upload
    • onFriendListCreated

      public void onFriendListCreated(@NonNull Core core, @NonNull FriendList friendList)
      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 interface CoreListener
      Parameters:
      core - Core object
      friendList - FriendList object
    • onFriendListRemoved

      public void onFriendListRemoved(@NonNull Core core, @NonNull FriendList friendList)
      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 interface CoreListener
      Parameters:
      core - Core object
      friendList - FriendList object
    • onCallCreated

      public void onCallCreated(@NonNull Core core, @NonNull Call call)
      Description copied from interface: CoreListener
      Callback notifying that a new Call (either incoming or outgoing) has
      been created.

      Specified by:
      onCallCreated in interface CoreListener
      Parameters:
      core - Core object that has created the call
      call - The newly created Call 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 interface CoreListener
      Parameters:
      core - Core object
      result - The result of the version update check
      url - 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
      Callback prototype telling that a Conference state has changed.

      Specified by:
      onConferenceStateChanged in interface CoreListener
      Parameters:
      core - Core object
      conference - The Conference object for which the state has changed

      state - the current ChatRoom#State
    • onChatRoomStateChanged

      public void onChatRoomStateChanged(@NonNull Core core, @NonNull ChatRoom chatRoom, ChatRoom.State state)
      Description copied from interface: CoreListener
      Callback prototype telling that a ChatRoom state has changed.

      Specified by:
      onChatRoomStateChanged in interface CoreListener
      Parameters:
      core - Core object
      chatRoom - The ChatRoom object for which the state has changed
      state - the current ChatRoom#State
    • onChatRoomSubjectChanged

      public void onChatRoomSubjectChanged(@NonNull Core core, @NonNull ChatRoom chatRoom)
      Description copied from interface: CoreListener
      Callback prototype telling that a ChatRoom subject has changed.

      Specified by:
      onChatRoomSubjectChanged in interface CoreListener
      Parameters:
      core - Core object
      chatRoom - The ChatRoom object for which the subject has changed
    • onChatRoomEphemeralMessageDeleted

      public void onChatRoomEphemeralMessageDeleted(@NonNull Core core, @NonNull ChatRoom chatRoom)
      Description copied from interface: CoreListener
      Callback prototype telling that a ChatRoom ephemeral message has
      expired.

      Specified by:
      onChatRoomEphemeralMessageDeleted in interface CoreListener
      Parameters:
      core - Core object
      chatRoom - The ChatRoom 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 interface CoreListener
      Parameters:
      core - Core object
      status - the return status of the registration action.
      userId - the userId published on the encryption engine server
      info - information about failure
    • onQrcodeFound

      public void onQrcodeFound(@NonNull Core core, @Nullable String result)
      Description copied from interface: CoreListener
      Callback prototype telling the result of decoded qrcode.

      Specified by:
      onQrcodeFound in interface CoreListener
      Parameters:
      core - Core object
      result - The result of the decoded qrcode
    • onFirstCallStarted

      public void onFirstCallStarted(@NonNull Core core)
      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 interface CoreListener
      Parameters:
      core - Core object
    • onLastCallEnded

      public void onLastCallEnded(@NonNull Core core)
      Description copied from interface: CoreListener
      Callback prototype telling the last call has ended (Core.getCallsNb()
      returns 0)

      Specified by:
      onLastCallEnded in interface CoreListener
      Parameters:
      core - Core object
    • onAudioDeviceChanged

      public void onAudioDeviceChanged(@NonNull Core core, @NonNull AudioDevice audioDevice)
      Description copied from interface: CoreListener
      Callback prototype telling that the audio device for at least one call has
      changed.

      Specified by:
      onAudioDeviceChanged in interface CoreListener
      Parameters:
      core - LinphoneCore object
      audioDevice - the newly used LinphoneAudioDevice object
    • onAudioDevicesListUpdated

      public void onAudioDevicesListUpdated(@NonNull Core core)
      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 call Core.getAudioDevices() to get the new list.
      Specified by:
      onAudioDevicesListUpdated in interface CoreListener
      Parameters:
      core - Core object
    • onEcCalibrationResult

      public void onEcCalibrationResult(@NonNull Core core, EcCalibratorStatus status, int delayMs)
      Description copied from interface: CoreListener
      Function prototype used by linphone_core_cbs_set_ec_calibration_result.

      Specified by:
      onEcCalibrationResult in interface CoreListener
      Parameters:
      core - The Core.
      status - The EcCalibratorStatus of the calibrator.
      delayMs - The measured delay if available.
    • onEcCalibrationAudioInit

      public void onEcCalibrationAudioInit(@NonNull Core core)
      Description copied from interface: CoreListener
      Function prototype used by linphone_core_cbs_set_ec_calibration_audio_init.

      Specified by:
      onEcCalibrationAudioInit in interface CoreListener
      Parameters:
      core - The Core.
    • onEcCalibrationAudioUninit

      public void onEcCalibrationAudioUninit(@NonNull Core core)
      Description copied from interface: CoreListener
      Function prototype used by linphone_core_cbs_set_ec_calibration_audio_uninit.

      Specified by:
      onEcCalibrationAudioUninit in interface CoreListener
      Parameters:
      core - The Core.
    • onAccountRegistrationStateChanged

      public void onAccountRegistrationStateChanged(@NonNull Core core, @NonNull Account account, RegistrationState state, @NonNull String message)
      Description copied from interface: CoreListener
      Callback notifying that a Account has its registration state changed.

      Specified by:
      onAccountRegistrationStateChanged in interface CoreListener
      Parameters:
      core - The Core object.
      account - The Account object which has its registration changed.
      state - The new RegistrationState for this account.
      message - a non null informational message about the state
    • onDefaultAccountChanged

      public void onDefaultAccountChanged(@NonNull Core core, @Nullable Account account)
      Description copied from interface: CoreListener
      Default account changed callback prototype.

      Specified by:
      onDefaultAccountChanged in interface CoreListener
      Parameters:
      core - Core object
      account - Account object that has been set as the default account,
      probably by calling Core.setDefaultAccount(org.linphone.core.Account), or null if the default
      account was removed.
    • onAccountAdded

      public void onAccountAdded(@NonNull Core core, @NonNull Account account)
      Description copied from interface: CoreListener
      Account added callback prototype.

      Specified by:
      onAccountAdded in interface CoreListener
      Parameters:
      core - Core object
      account - Account object that has been added to the Core using
      Core.addAccount(org.linphone.core.Account) for example.
    • onAccountRemoved

      public void onAccountRemoved(@NonNull Core core, @NonNull Account account)
      Description copied from interface: CoreListener
      Account removed callback prototype.

      Specified by:
      onAccountRemoved in interface CoreListener
      Parameters:
      core - Core object
      account - Account object that has been added to the Core using
      Core.removeAccount(org.linphone.core.Account) for example.
    • onNewAlertTriggered

      public void onNewAlertTriggered(@NonNull Core core, @NonNull Alert alert)
      Description copied from interface: CoreListener
      Callback for notifying about an alert (e.g on Qos)

      Specified by:
      onNewAlertTriggered in interface CoreListener
      Parameters:
      core - Core object
      alert - Alert to notify