net.rim.blackberry.api.blackberrymessenger
Interface Service


public interface Service

Interface to define a Service. Services appear in a list under the "Start Service..." menu option in the BlackBerry Messenger application. The menu option only appears if there is one or more Service objects currently registered with the BlackBerry Messenger application.

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 4.2.1

Method Summary
Category: Signed  void start(MessengerContact contact)
          This method is called when the local user selects a Service to start from the "Start Service..."
 



Method Detail

start

void start(MessengerContact contact)
This method is called when the local user selects a Service to start from the "Start Service..." menu item. The Service should then perform the action asociated with it.

Parameters:
contact - The contact whose conversation window the Service was started in.
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 4.2.1





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