public class TelephoneEvent
extends java.lang.Object
Constructor and Description |
---|
TelephoneEvent(java.lang.Exception ex)
Constructor that provides error exception information
|
TelephoneEvent(java.lang.String content,
boolean directionOut)
Constructor that provides content information
|
TelephoneEvent(TelephoneStatusEvent telephoneStatusEvent)
Constructor that provides an telephone status change
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContent()
Returns the textual information.
|
java.lang.Exception |
getException()
Return the exception.
|
TelephoneStatusEvent |
getTelephoneStatusEvent()
Returns the status event.
|
boolean |
isDirectionOut()
Returns if the call is outgoing.
|
public TelephoneEvent(java.lang.String content, boolean directionOut)
content
- any textual contentdirectionOut
- direction of the callpublic TelephoneEvent(java.lang.Exception ex)
ex
- the exception objectpublic TelephoneEvent(TelephoneStatusEvent telephoneStatusEvent)
telephoneStatusEvent
- should be used on any telephone status eventpublic java.lang.Exception getException()
public boolean isDirectionOut()
public java.lang.String getContent()
public TelephoneStatusEvent getTelephoneStatusEvent()