net.rim.blackberry.api.profiles
Class ContactProfile
java.lang.Object
net.rim.blackberry.api.profiles.Profile
net.rim.blackberry.api.profiles.ContactProfile
public class ContactProfile
- extends Profile
Contains contact profile settings.
- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 7.1.0
getName
public String getName()
- Returns the name of the contact profile.
- Overrides:
getName
in class Profile
- Returns:
- The name of the contact profile.
- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 7.1.0
getBlackBerryContact
public BlackBerryContact getBlackBerryContact()
- Returns the
BlackBerryContact
that is associated with this
contact profile.
- Returns:
- The contact that is associated with this contact profile.
- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 7.1.0
getId
public int getId()
- Returns the ID of the contact profile.
- Overrides:
getId
in class Profile
- Returns:
- The ID of the contact profile.
- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 7.1.0
getRules
public NotificationRule[] getRules()
- Returns contact profile rules for all event categories.
- Overrides:
getRules
in class Profile
- Returns:
- An array of contact profile rules for all event categories.
- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 7.1.0
getRules
public NotificationRule[] getRules(int category)
- Returns contact profile rules for the specified event category.
- Overrides:
getRules
in class Profile
- Parameters:
category
- The event category to return contact profile rules for.
- Returns:
- An array of contact profile rules for the specified event
category.
- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 7.1.0
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal