webphone
Class SIPNotification.Block

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

public static class SIPNotification.Block
extends SIPNotification

BLOCK notification.
Triggered by: message blocked/ignored
Event: SIPNotificationListener.onBlock
Fields: BLOCK,type,message


Field Summary
static intTYPE_BLACKLIST
          black list
static intTYPE_UNKNOWN
          unrecognized
static intTYPE_WHITELIST
          white list
 
Method Summary
 java.lang.StringgetMessage()
          the message beeing blocked / ignored
 intgetType()
          type (TYPE_...
 java.lang.StringgetTypeText()
          type as string
 
Methods inherited from class webphone.SIPNotification
getNotificationType, toString
   

Field Detail

TYPE_UNKNOWN

public static final int TYPE_UNKNOWN
unrecognized

See Also:
Constant Field Values

TYPE_BLACKLIST

public static final int TYPE_BLACKLIST
black list

See Also:
Constant Field Values

TYPE_WHITELIST

public static final int TYPE_WHITELIST
white list

See Also:
Constant Field Values
 
Method Detail

getType

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


getTypeText

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


getMessage

public java.lang.String getMessage()
the message beeing blocked / ignored