com.skype.api
Enum ContactSearch.STATUS

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

public static enum ContactSearch.STATUS
extends java.lang.Enum<ContactSearch.STATUS>

Possible values for the ContactSearch.P_STATUS property.


Enum Constant Summary
CONSTRUCTION
          Transient state, obtained after submission and actually initiating the search on the network.
EXTENDABLE
          Enough matches are found.
FAILED
          ContactSearch failed.
FINISHED
          The search is finished.
PENDING
          Waiting for results to show up.
 
Method Summary
static ContactSearch.STATUS fromString(java.lang.String s)
           
static ContactSearch.STATUS get(int code)
           
 int getId()
           
static ContactSearch.STATUS valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ContactSearch.STATUS[] 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

CONSTRUCTION

public static final ContactSearch.STATUS CONSTRUCTION
Transient state, obtained after submission and actually initiating the search on the network.


PENDING

public static final ContactSearch.STATUS PENDING
Waiting for results to show up. This is a transient state.


EXTENDABLE

public static final ContactSearch.STATUS EXTENDABLE
Enough matches are found. No more OnNewResult events will fire. The feature of extending long search results is about to be deprecated. It is still possible for search objects to occasionally reach that state, so it should be handled in the UI (as FINISHED), but the extending feature itself should not be implemented in your UI.


FINISHED

public static final ContactSearch.STATUS FINISHED
The search is finished. No more matches are expected. This is a terminal state.


FAILED

public static final ContactSearch.STATUS FAILED
ContactSearch failed. Better check if the search terms made any sense, with ContactSearch.IsValid. This is a terminal state.

Method Detail

values

public static ContactSearch.STATUS[] 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 (ContactSearch.STATUS c : ContactSearch.STATUS.values())
    System.out.println(c);

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

valueOf

public static ContactSearch.STATUS 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 ContactSearch.STATUS get(int code)

fromString

public static ContactSearch.STATUS fromString(java.lang.String s)


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