|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.motorola.iden.udm.UDM
Class for accessing the UDM databases on a device.
| Field Summary | |
static int |
NAME_SORT
NAME_SORT defines retrieving in name order sort. |
static int |
READ_ONLY
READ_ONLY constant representing opening of a list in read only mode. |
static int |
READ_WRITE
READ_WRITE constant representing opening of a list in read/write mode. |
static int |
SPEED_NUM_SORT
SPEED_NUM_SORT defines retrieving in speed number sort. |
| Method Summary | |
static DateBook |
openDateBook(int mode)
Creates a DateBook and populates it with native DateBook data. |
static PhoneBook |
openPhoneBook(int mode)
Creates a PhoneBook and populates it with native PhoneBook data. |
static PhoneBook |
openPhoneBook(int mode,
int sort)
Creates a PhoneBook and populates it with native PhoneBook data. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int READ_ONLY
public static final int READ_WRITE
public static final int NAME_SORT
public static final int SPEED_NUM_SORT
| Method Detail |
public static PhoneBook openPhoneBook(int mode)
throws UDMException
mode - how to open the PhoneBook, either READ or READ_WRITE
UDMException - If the operation is unsupported or an error occurs.
java.lang.SecurityException - If the application is not given permission that matches the requested mode.
java.lang.IllegalArgumentException - If an invalid mode is provided as a parameter.
public static PhoneBook openPhoneBook(int mode,
int sort)
throws UDMException
mode - how to open the PhoneBook, either READ or READ_WRITEsort - specifies the sort order used to retrieved entries from the native database
UDMException - If the operation is unsupported or an error occurs.
java.lang.SecurityException - If the application is not given permission that matches the requested mode.
java.lang.IllegalArgumentException - If an invalid mode is provided as a parameter.
public static DateBook openDateBook(int mode)
throws UDMException
mode - how to open the DateBook, either READ_ONLY or READ_WRITE
UDMException - If the operation is unsupported or an error occurs.
java.lang.SecurityException - If the application is not given permission that matches the requested mode.
java.lang.IllegalArgumentException - If an invalid mode is provided as a parameter.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||