| java.lang.Object | |
| ↳ | android.net.sip.SipSession.Listener |
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.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Called when the peer is busy during session initialization.
| |||||||||||
Called when an error occurs during session modification negotiation.
| |||||||||||
Called when the session is terminated.
| |||||||||||
Called when the session is established.
| |||||||||||
Called when an INVITE request is sent to initiate a new call.
| |||||||||||
Called when an error occurs during session initialization and
termination.
| |||||||||||
Called when a registration request is sent.
| |||||||||||
Called when registration is successfully done.
| |||||||||||
Called when the registration fails.
| |||||||||||
Called when the registration gets timed out.
| |||||||||||
Called when an INVITE request is received.
| |||||||||||
Called when a RINGING response is received for the INVITE request sent
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
| |||||||||||
Called when the peer is busy during session initialization.
| session | the session object that carries out the transaction |
|---|
Called when an error occurs during session modification negotiation.
| session | the session object that carries out the transaction |
|---|---|
| errorCode | error code defined in SipErrorCode |
| errorMessage | error message |
Called when the session is terminated.
| session | the session object that is associated with the dialog |
|---|
Called when the session is established.
| session | the session object that is associated with the dialog |
|---|---|
| sessionDescription | the peer's session description |
Called when an INVITE request is sent to initiate a new call.
| session | the session object that carries out the transaction |
|---|
Called when an error occurs during session initialization and termination.
| session | the session object that carries out the transaction |
|---|---|
| errorCode | error code defined in SipErrorCode |
| errorMessage | error message |
Called when a registration request is sent.
| session | the session object that carries out the transaction |
|---|
Called when registration is successfully done.
| session | the session object that carries out the transaction |
|---|---|
| duration | duration in second before the registration expires |
Called when the registration fails.
| session | the session object that carries out the transaction |
|---|---|
| errorCode | error code defined in SipErrorCode |
| errorMessage | error message |
Called when the registration gets timed out.
| session | the session object that carries out the transaction |
|---|
Called when an INVITE request is received.
| session | the session object that carries out the transaction |
|---|---|
| caller | the SIP profile of the caller |
| sessionDescription | the caller's session description |
Called when a RINGING response is received for the INVITE request sent
| session | the session object that carries out the transaction |
|---|