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 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:
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 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.

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 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.

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 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.

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 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.



Copyright 1999-2009 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.