net.rim.blackberry.api.mail.event
Interface ViewListenerExtended

All Superinterfaces:
EventListener, ViewListener

public interface ViewListenerExtended
extends ViewListener

Listener interface for view events.

Implement this interface and register it with a Session (using addViewListener) to receive notifications when messages are created, forwarded, or replied to in the device's Message application, as well as when any events handled by ViewListener occur.

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

Method Summary
Category: Signed  void forward(MessageEvent e)
          Called when a message in the message list is forwarded.
Category: Signed  void newMessage(MessageEvent e)
          Called when the compose screen is opened to create a new message.
Category: Signed  void reply(MessageEvent e)
          Called when a message in the message list is replied to.
 
Methods inherited from interface net.rim.blackberry.api.mail.event.ViewListener
close, open
 



Method Detail

newMessage

void newMessage(MessageEvent e)
Called when the compose screen is opened to create a new message.

Parameters:
e - Event describing the new message action
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.1.0

forward

void forward(MessageEvent e)
Called when a message in the message list is forwarded.

Parameters:
e - Event describing the forward action
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.1.0

reply

void reply(MessageEvent e)
Called when a message in the message list is replied to.

Parameters:
e - Event describing the reply action
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.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