webphone
Class SIPNotification.Event

java.lang.Object
  extended by webphone.SIPNotification
      extended by webphone.SIPNotification.Event
Enclosing class:
SIPNotification

public static class SIPNotification.Event
extends SIPNotification

EVENT notification.
Triggered by: Important events which should be displayed for the user.
Event: SIPNotificationListener.onEvent
Fields: EVENT,EVENT,any text


Field Summary
static intTYPE_CRITICAL
          critical error
static intTYPE_ERROR
          error
static intTYPE_EVENT
          event
static intTYPE_UNKNOWN
          unknown log type
static intTYPE_WARNING
          warning
 
Method Summary
 java.lang.StringgetText()
          log text: the actual log message as string
 intgetType()
          log type (TYPE_...
 java.lang.StringgetTypeText()
          log type as string
 
Methods inherited from class webphone.SIPNotification
getNotificationType, toString
   

Field Detail

TYPE_EVENT

public static final int TYPE_EVENT
event

See Also:
Constant Field Values

TYPE_WARNING

public static final int TYPE_WARNING
warning

See Also:
Constant Field Values

TYPE_ERROR

public static final int TYPE_ERROR
error

See Also:
Constant Field Values

TYPE_CRITICAL

public static final int TYPE_CRITICAL
critical error

See Also:
Constant Field Values

TYPE_UNKNOWN

public static final int TYPE_UNKNOWN
unknown log type

See Also:
Constant Field Values
 
Method Detail

getType

public int getType()
log type (TYPE_... constant)


getTypeText

public java.lang.String getTypeText()
log type as string


getText

public java.lang.String getText()
log text: the actual log message as string