SHOW Signed

net.rim.blackberry.api.blackberrymessenger
Interface MessengerContact


public interface MessengerContact

Represents a BlackBerry Messenger contact in the user's BlackBerry Messenger contact list.

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.

Since:
JDE 4.2.1

Method Summary
 Category: Signed  BlackBerryContact getBlackBerryContact()
          Gets the BlackBerryContact (if it exists) for this contact
 Category: Signed  int getContactId()
          Unique ID for this contact.
 Category: Signed  String getDisplayName()
          Display name for the contact which appears in the BlackBerry Messenger contact list.
 Category: Signed  Session getSession()
          Returns a new, closed Session to be used for communication with this contact.
 

Method Detail

getBlackBerryContact

public BlackBerryContact getBlackBerryContact()
Gets the BlackBerryContact (if it exists) for this contact
Returns:
A BlackBerryContact representing the MessengerContact, or null.
Since:
JDE 4.2.1
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.

getContactId

public int getContactId()
Unique ID for this contact.
Returns:
id
Since:
JDE 4.2.1
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.

getDisplayName

public String getDisplayName()
Display name for the contact which appears in the BlackBerry Messenger contact list.
Returns:
The display name of the contact.
Since:
JDE 4.2.1
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.

getSession

public Session getSession()
Returns a new, closed Session to be used for communication with this contact.
Returns:
A Session object that once opened can be used for communication with this contact.
Since:
JDE 4.2.1
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.