com.skype.api
Enum Account.PWDCHANGESTATUS

java.lang.Object
  extended by java.lang.Enum<Account.PWDCHANGESTATUS>
      extended by com.skype.api.Account.PWDCHANGESTATUS
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Account.PWDCHANGESTATUS>
Enclosing class:
Account

public static enum Account.PWDCHANGESTATUS
extends java.lang.Enum<Account.PWDCHANGESTATUS>

Recognized values for the P_PWDCHANGESTATUS property that provides information on whether a password change succeeded or failed, giving detailed failure reason. After successful return from the Change Password method, clients should monitor the P_PWDCHANGESTATUS property changes.
- PWD_CHANGING - consider displaying an "in progress" indicator and continue polling
- PWD_OK - consider displaying an updated indicator and stop polling
- PWD_OK_BUT_CHANGE_SUGGESTED - consider displaying an updated indicator, along with a recommendation to change again to a stronger password.


Enum Constant Summary
PWD_CHANGING
          Password change is in progress.
PWD_INVALID_NEW_PWD
          The new password was unacceptable.
PWD_INVALID_OLD_PASSWORD
          Old password was incorrect.
PWD_MUST_DIFFER_FROM_OLD
          New password was exactly the same as old one.
PWD_MUST_LOG_IN_TO_CHANGE
          Account was currently not logged in.
PWD_OK
          Password change succeeded.
PWD_OK_BUT_CHANGE_SUGGESTED
          Password was set but server didn't like it much.
PWD_SERVER_CONNECT_FAILED
          Failed to verify password because of no connection to server.
 
Method Summary
static Account.PWDCHANGESTATUS fromString(java.lang.String s)
           
static Account.PWDCHANGESTATUS get(int code)
           
 int getId()
           
static Account.PWDCHANGESTATUS valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Account.PWDCHANGESTATUS[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PWD_OK

public static final Account.PWDCHANGESTATUS PWD_OK
Password change succeeded.


PWD_CHANGING

public static final Account.PWDCHANGESTATUS PWD_CHANGING
Password change is in progress.


PWD_INVALID_OLD_PASSWORD

public static final Account.PWDCHANGESTATUS PWD_INVALID_OLD_PASSWORD
Old password was incorrect.


PWD_SERVER_CONNECT_FAILED

public static final Account.PWDCHANGESTATUS PWD_SERVER_CONNECT_FAILED
Failed to verify password because of no connection to server.


PWD_OK_BUT_CHANGE_SUGGESTED

public static final Account.PWDCHANGESTATUS PWD_OK_BUT_CHANGE_SUGGESTED
Password was set but server didn't like it much.


PWD_MUST_DIFFER_FROM_OLD

public static final Account.PWDCHANGESTATUS PWD_MUST_DIFFER_FROM_OLD
New password was exactly the same as old one.


PWD_INVALID_NEW_PWD

public static final Account.PWDCHANGESTATUS PWD_INVALID_NEW_PWD
The new password was unacceptable. (too short, too simple, etc.)


PWD_MUST_LOG_IN_TO_CHANGE

public static final Account.PWDCHANGESTATUS PWD_MUST_LOG_IN_TO_CHANGE
Account was currently not logged in.

Method Detail

values

public static Account.PWDCHANGESTATUS[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Account.PWDCHANGESTATUS c : Account.PWDCHANGESTATUS.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Account.PWDCHANGESTATUS valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getId

public int getId()

get

public static Account.PWDCHANGESTATUS get(int code)

fromString

public static Account.PWDCHANGESTATUS fromString(java.lang.String s)


Copyright © 2010, 2011 Skype Technologies. All Rights Reserved.