webphone
Class SIPNotification.LicKey

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

public static class SIPNotification.LicKey
extends SIPNotification

LICKEY notification.
Triggered by: licene key request (only if licene key is needed for activation)
Event: SIPNotificationListener.onLicKey
Fields: LICKEY,status


Nested Class Summary
 
Nested classes/interfaces inherited from class webphone.SIPNotification
SIPNotification.Account, SIPNotification.AI, SIPNotification.Answer, SIPNotification.APIResult, SIPNotification.BLF, SIPNotification.Block, SIPNotification.CDR, SIPNotification.Chat, SIPNotification.ChatComposing, SIPNotification.ChatReport, SIPNotification.Credit, SIPNotification.DTMF, SIPNotification.Event, SIPNotification.Group, SIPNotification.INFO, SIPNotification.LicKey, SIPNotification.Line, SIPNotification.Log, SIPNotification.Media, SIPNotification.MWI, SIPNotification.NewContact, SIPNotification.PlayReady, SIPNotification.Popup, SIPNotification.Presence, SIPNotification.Rating, SIPNotification.Register, SIPNotification.RTPE, SIPNotification.RTPStat, SIPNotification.RTPT, SIPNotification.ServerContacts, SIPNotification.ShouldReset, SIPNotification.SIP, SIPNotification.SRS, SIPNotification.Start, SIPNotification.Status, SIPNotification.Stop, SIPNotification.USSD, SIPNotification.VAD, SIPNotification.Video, SIPNotification.Vrec
 
Field Summary
static int LICKEY_FAIL_BANNED
          blocked.
static int LICKEY_FAIL_DISABLED
          failed.
static int LICKEY_FAIL_EXPIRED
          failed.
static int LICKEY_FAIL_NOTFOUND
          failed.
static int LICKEY_FAIL_REJECTED
          failed to validate and definitely rejected
static int LICKEY_FAIL_TMP
          failed to verify, temporarily rejected
static int LICKEY_FAIL_TOOMANY
          failed.
static int LICKEY_FAIL_USED
          failed.
static int LICKEY_NOTNEEDED
          not needed
static int LICKEY_OK_ACCEPTED
          validated and definitely accepted
static int LICKEY_OK_ACCEPTED_TMP
          temporarily accepted
static int LICKEY_SHOW
          show input
static int LICKEY_SHOW_MUST_EXTERN
          must request now (request from your app).
static int LICKEY_SHOW_MUST_INTERN
          request now (probably requested by the library)
static int LICKEY_UNKNOWN
          unknown
 
Fields inherited from class webphone.SIPNotification
NOTIFICATION_ACCOUNT, NOTIFICATION_AI, NOTIFICATION_ALL, NOTIFICATION_ANSWER, NOTIFICATION_APIRESULT, NOTIFICATION_BLF, NOTIFICATION_BLOCK, NOTIFICATION_CDR, NOTIFICATION_CHAT, NOTIFICATION_CHATCOMPOSING, NOTIFICATION_CHATREPORT, NOTIFICATION_CREDIT, NOTIFICATION_DTMF, NOTIFICATION_EVENT, NOTIFICATION_GROUP, NOTIFICATION_INFO, NOTIFICATION_INVALID, NOTIFICATION_LICKEY, NOTIFICATION_LINE, NOTIFICATION_LOG, NOTIFICATION_MEDIA, NOTIFICATION_MWI, NOTIFICATION_NEWUSER, NOTIFICATION_PLAYREADY, NOTIFICATION_POPUP, NOTIFICATION_PRESENCE, NOTIFICATION_RATING, NOTIFICATION_REGISTER, NOTIFICATION_RTPE, NOTIFICATION_RTPSTAT, NOTIFICATION_RTPT, NOTIFICATION_SERVERCONTACTS, NOTIFICATION_SHOULDRESET, NOTIFICATION_SIP, NOTIFICATION_SRS, NOTIFICATION_START, NOTIFICATION_STATUS, NOTIFICATION_STOP, NOTIFICATION_USSD, NOTIFICATION_VAD, NOTIFICATION_VIDEO, NOTIFICATION_VREC
 
Method Summary
 int getLine()
          endpoint line
 int getStatus()
          LICKEY_...
 java.lang.String getStatusText()
          status as string
 
Methods inherited from class webphone.SIPNotification
getNotificationType, getNotificationTypeText, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LICKEY_UNKNOWN

public static final int LICKEY_UNKNOWN
unknown

See Also:
Constant Field Values

LICKEY_NOTNEEDED

public static final int LICKEY_NOTNEEDED
not needed

See Also:
Constant Field Values

LICKEY_SHOW

public static final int LICKEY_SHOW
show input

See Also:
Constant Field Values

LICKEY_SHOW_MUST_INTERN

public static final int LICKEY_SHOW_MUST_INTERN
request now (probably requested by the library)

See Also:
Constant Field Values

LICKEY_SHOW_MUST_EXTERN

public static final int LICKEY_SHOW_MUST_EXTERN
must request now (request from your app). not used.

See Also:
Constant Field Values

LICKEY_OK_ACCEPTED_TMP

public static final int LICKEY_OK_ACCEPTED_TMP
temporarily accepted

See Also:
Constant Field Values

LICKEY_OK_ACCEPTED

public static final int LICKEY_OK_ACCEPTED
validated and definitely accepted

See Also:
Constant Field Values

LICKEY_FAIL_TMP

public static final int LICKEY_FAIL_TMP
failed to verify, temporarily rejected

See Also:
Constant Field Values

LICKEY_FAIL_REJECTED

public static final int LICKEY_FAIL_REJECTED
failed to validate and definitely rejected

See Also:
Constant Field Values

LICKEY_FAIL_BANNED

public static final int LICKEY_FAIL_BANNED
blocked. further reactivation is impossibile

See Also:
Constant Field Values

LICKEY_FAIL_DISABLED

public static final int LICKEY_FAIL_DISABLED
failed. disabled

See Also:
Constant Field Values

LICKEY_FAIL_NOTFOUND

public static final int LICKEY_FAIL_NOTFOUND
failed. not found

See Also:
Constant Field Values

LICKEY_FAIL_USED

public static final int LICKEY_FAIL_USED
failed. used elsewhere

See Also:
Constant Field Values

LICKEY_FAIL_TOOMANY

public static final int LICKEY_FAIL_TOOMANY
failed. too many

See Also:
Constant Field Values

LICKEY_FAIL_EXPIRED

public static final int LICKEY_FAIL_EXPIRED
failed. expired

See Also:
Constant Field Values
Method Detail

getLine

public int getLine()
endpoint line


getStatus

public int getStatus()
LICKEY_... constant


getStatusText

public java.lang.String getStatusText()
status as string