SMSLib 3.5.3

org.smslib
Enum Contact.ContactLocation

java.lang.Object
  extended by java.lang.Enum<Contact.ContactLocation>
      extended by org.smslib.Contact.ContactLocation
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Contact.ContactLocation>
Enclosing class:
Contact

public static enum Contact.ContactLocation
extends java.lang.Enum<Contact.ContactLocation>


Enum Constant Summary
ALL_ENTRIES
          Represents the phonebook entries from both the phone's memory and SIM card.
DIALLED_CALLS
          Represents the dialled numbers.
MISSED_CALLS
          Represents the missed inbound calls.
PHONE_ENTRIES
          Represents the normal phonebook entries stored in the phone's memory.
SIM_ENTRIES
          Represents the normal phonebook entrues stored in the SIM card.
UNKNOWN_ENTRY
          Represents an unknown phonebook entry.
 
Method Summary
static Contact.ContactLocation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Contact.ContactLocation[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DIALLED_CALLS

public static final Contact.ContactLocation DIALLED_CALLS
Represents the dialled numbers.


MISSED_CALLS

public static final Contact.ContactLocation MISSED_CALLS
Represents the missed inbound calls.


PHONE_ENTRIES

public static final Contact.ContactLocation PHONE_ENTRIES
Represents the normal phonebook entries stored in the phone's memory.


SIM_ENTRIES

public static final Contact.ContactLocation SIM_ENTRIES
Represents the normal phonebook entrues stored in the SIM card.


ALL_ENTRIES

public static final Contact.ContactLocation ALL_ENTRIES
Represents the phonebook entries from both the phone's memory and SIM card.


UNKNOWN_ENTRY

public static final Contact.ContactLocation UNKNOWN_ENTRY
Represents an unknown phonebook entry.

Method Detail

values

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

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

valueOf

public static Contact.ContactLocation 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

SMSLib 3.5.3

(c) 2002-2011, http://smslib.org