Public Member Functions | |
| AddressBook[] | getAddressBooks () |
| Gets the available address books in the device. | |
Static Public Attributes | |
| static final String | ERROR_CONTACTMANAGER_UNKNOWN = "Unknown" |
| static final String | ERROR_CONTACTMANAGER_INVALID_PARAMETERS = "Invalid parameters" |
| static final String | ERROR_CONTACTMANAGER_INVALID_FILTER_SINTAX = "Invalid filter sintax" |
| static final String | ERROR_CONTACTMANAGER_INVALID_PROPERTY = "Invalid property" |
| static final String | ERROR_CONTACTMANAGER_MAX_SIZE_EXCEEDED = "Max size exceeded" |
| static final String | ERROR_CONTACTMANAGER_READ_PERMISSION_DENIED = "pim.contact.read permission not satisfied" |
| static final String | ERROR_CONTACTMANAGER_WRITE_PERMISSION_DENIED = "pim.contact.write permission not satisfied" |
The Contact Manager interface offers methods to retrieve addressbooks.
Requirement(s):
- ()
bondi.load('pim.contact', { id: 'pim/contact', success, failure });
| AddressBook [] org.omtp.bondi.pim.contact.ContactManager.getAddressBooks | ( | ) |
Gets the available address books in the device.
Requirement(s):
- (REQ: IFC-PIM-400)
- (REQ: IFC-PIM-400.1)
API Feature: http://bondi.omtp.org/api/pim.contact.read
var addressbooks = pim.contact.getAddressBooks();
var sim = addressbooks[1];
| pim.contact.read permission not satisfied |
1.5.7.1