Packagecom.acapela.vaas.advanced.events
Classpublic class MessageEvent
InheritanceMessageEvent Inheritance flash.events.Event

The event dispatched for each operation on a message (generation, retrieving, notification and deletation).

MessageEvent instances are dispatched by the Player, Synthesizer and MessageManager classes to listeners registered for MESSAGE_XXXXX event types.

See also

com.acapela.vaas.advanced.Message
com.acapela.vaas.advanced.MessageExt


Public Properties
 PropertyDefined by
  message : Message
[read-only] the message to this event
MessageEvent
Public Constants
 ConstantDefined by
  MESSAGE_DELETED : String = "messageDeleted"
[static] The MessageEvent.MESSAGE_DELETED constant defines the value of the type property of an messageDeleted event object.
MessageEvent
  MESSAGE_NOTIFIED : String = "messageNotified"
[static] The MessageEvent.MESSAGE_NOTIFIED constant defines the value of the type property of an messageNotified event object.
MessageEvent
  MESSAGE_OBTAINED : String = "messageObtained"
[static] The MessageEvent.MESSAGE_OBTAINED constant defines the value of the type property of an messageObtained event object.
MessageEvent
Property detail
messageproperty
message:Message  [read-only]

the message to this event

Implementation
    public function get message():Message
Constant detail
MESSAGE_DELETEDconstant
public static const MESSAGE_DELETED:String = "messageDeleted"

The MessageEvent.MESSAGE_DELETED constant defines the value of the type property of an messageDeleted event object.

This event has the following properties:
PropertyDescription
bubblesfalse
cancelablefalse
messageThe message to this event
targetThe MessageManager instance that generated it.

You can access to the corresponding Message instance using message property of this event.

See also

MESSAGE_NOTIFIEDconstant 
public static const MESSAGE_NOTIFIED:String = "messageNotified"

The MessageEvent.MESSAGE_NOTIFIED constant defines the value of the type property of an messageNotified event object.

This event has the following properties:
PropertyDescription
bubblesfalse
cancelablefalse
messageThe message to this event
targetThe MessageManager instance that generated it.

You can access to the corresponding Message instance using message property of this event.

See also

MESSAGE_OBTAINEDconstant 
public static const MESSAGE_OBTAINED:String = "messageObtained"

The MessageEvent.MESSAGE_OBTAINED constant defines the value of the type property of an messageObtained event object.

This event has the following properties:
PropertyDescription
bubblesfalse
cancelablefalse
messageThe message corresponding to this event
targetThe Synthesizer or Player instance that generated it.

See also