BlackBerryContactGroup items are a representation of address lists in the BlackBerry Address Book application.
The objects are read-only. An attempt to call commit on a contact group will result in a PIMException being thrown.
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
ADDRESS_TYPE_PHONE
public static final int ADDRESS_TYPE_PHONE
PHONE address type.
Since:
JDE 4.2.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
ADDRESS_TYPE_PIN
public static final int ADDRESS_TYPE_PIN
PIN address type.
Since:
JDE 4.2.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
NAME
public static final int NAME
Represents the name field for an address group.
Data associated with this field is of String type.
Since:
JDE 4.2.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
UID
public static final int UID
Field specifying the UID for this address group.
Data associated with this field is of String type.
Since:
JDE 4.2.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
Returns a String containing the the actual address at index in this BlackBerryContactGroup.
Parameters:
index - an index of the desired address in the contact group.
Returns:
A String representation of the address in the contact group.
Throws:
IndexOutOfBoundsException - if the index is negative or greater than or equal to the number of values
currently contained in the field.
Since:
JDE 4.2.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
getAddressType
public int getAddressType(int index)
Returns the type of address at index in this BlackBerryContactGroup.
Parameters:
index - an index of the desired address in the contact group.
Returns:
One of ADDRESS_TYPE_EMAIL, ADDRESS_TYPE_PHONE or ADDRESS_TYPE_PIN.
Throws:
IndexOutOfBoundsException - if the index is negative or greater than or equal to the number of values
currently contained in the field.
Since:
JDE 4.2.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
Returns a Contact object for the address at index in this BlackBerryContactGroup.
Parameters:
index - an index of the desired address in the contact group.
Returns:
A Contact object representing this memeber in the contact group.
Throws:
IndexOutOfBoundsException - if the index is negative or greater than or equal to the number of values
currently contained in the field.
Since:
JDE 4.2.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
numContacts
public int numContacts()
Returns the numbers of addresses in this BlackBerryContactGroup.
Since:
JDE 4.2.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
Copyright 1999-2007 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved. Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. Copyright 2002-2003 Nokia Corporation All Rights Reserved. Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.