IT. Expert System.

Android Reference

SipSession.Listener


android.net.sip

Class SipSession.Listener

  • Enclosing class:
    SipSession


    public static class SipSession.Listener
    extends Object
    Listener for events relating to a SIP session, such as when a session is being registered ("on registering") or a call is outgoing ("on calling").

    Many of these events are also received by SipAudioCall.Listener.

    • Constructor Detail

      • SipSession.Listener

        public SipSession.Listener()
    • Method Detail

      • onCalling

        public void onCalling(SipSession session)
        Called when an INVITE request is sent to initiate a new call.
        Parameters:
        session - the session object that carries out the transaction
      • onRinging

        public void onRinging(SipSession session,
                     SipProfile caller,
                     String sessionDescription)
        Called when an INVITE request is received.
        Parameters:
        session - the session object that carries out the transaction
        caller - the SIP profile of the caller
        sessionDescription - the caller's session description
      • onRingingBack

        public void onRingingBack(SipSession session)
        Called when a RINGING response is received for the INVITE request sent
        Parameters:
        session - the session object that carries out the transaction
      • onCallEstablished

        public void onCallEstablished(SipSession session,
                             String sessionDescription)
        Called when the session is established.
        Parameters:
        session - the session object that is associated with the dialog
        sessionDescription - the peer's session description
      • onCallEnded

        public void onCallEnded(SipSession session)
        Called when the session is terminated.
        Parameters:
        session - the session object that is associated with the dialog
      • onCallBusy

        public void onCallBusy(SipSession session)
        Called when the peer is busy during session initialization.
        Parameters:
        session - the session object that carries out the transaction
      • onCallTransferring

        public void onCallTransferring(SipSession newSession,
                              String sessionDescription)
        Called when the call is being transferred to a new one.
        Parameters:
        newSession - the new session that the call will be transferred to
        sessionDescription - the new peer's session description
      • onError

        public void onError(SipSession session,
                   int errorCode,
                   String errorMessage)
        Called when an error occurs during session initialization and termination.
        Parameters:
        session - the session object that carries out the transaction
        errorCode - error code defined in SipErrorCode
        errorMessage - error message
      • onCallChangeFailed

        public void onCallChangeFailed(SipSession session,
                              int errorCode,
                              String errorMessage)
        Called when an error occurs during session modification negotiation.
        Parameters:
        session - the session object that carries out the transaction
        errorCode - error code defined in SipErrorCode
        errorMessage - error message
      • onRegistering

        public void onRegistering(SipSession session)
        Called when a registration request is sent.
        Parameters:
        session - the session object that carries out the transaction
      • onRegistrationDone

        public void onRegistrationDone(SipSession session,
                              int duration)
        Called when registration is successfully done.
        Parameters:
        session - the session object that carries out the transaction
        duration - duration in second before the registration expires
      • onRegistrationFailed

        public void onRegistrationFailed(SipSession session,
                                int errorCode,
                                String errorMessage)
        Called when the registration fails.
        Parameters:
        session - the session object that carries out the transaction
        errorCode - error code defined in SipErrorCode
        errorMessage - error message
      • onRegistrationTimeout

        public void onRegistrationTimeout(SipSession session)
        Called when the registration gets timed out.
        Parameters:
        session - the session object that carries out the transaction


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 71 / 158778707. Delta: 0.02639 с