Packagecom.adobe.mediacore.notifications
Classpublic class NotificationHistory
InheritanceNotificationHistory Inheritance flash.events.EventDispatcher

Class used to store a log of notification objects maintained by a MediaPlayerItem

See also

Notification
MediaPlayerItem.notificationHistory


Public Properties
 PropertyDefined By
  capacity : uint
Returns the maximum allowed size of the notifications list.
NotificationHistory
  notificationItems : Vector.<NotificationHistoryItem>
[read-only] The list of the notification objects stored in the circular manner.
NotificationHistory
  size : uint
[read-only] Returns the current size of the notification history list
NotificationHistory
Public Methods
 MethodDefined By
  
addNotification(notification:Notification):void
Adds a notification to the history.
NotificationHistory
  
Clears the entire notification history.
NotificationHistory
Events
 Event Summary Defined By
  Dispatched when the a notification is added to the history.sNotificationHistory
Property Detail
capacityproperty
capacity:uint

Returns the maximum allowed size of the notifications list.


Implementation
    public function get capacity():uint
    public function set capacity(value:uint):void
notificationItemsproperty 
notificationItems:Vector.<NotificationHistoryItem>  [read-only]

The list of the notification objects stored in the circular manner.


Implementation
    public function get notificationItems():Vector.<NotificationHistoryItem>
sizeproperty 
size:uint  [read-only]

Returns the current size of the notification history list


Implementation
    public function get size():uint
Method Detail
addNotification()method
public function addNotification(notification:Notification):void

Adds a notification to the history.

Parameters

notification:Notification

clearNotificationList()method 
public function clearNotificationList():void

Clears the entire notification history.

Event Detail
notificationItemAdded Event
Event Object Type: com.adobe.mediacore.events.NotificationHistoryChangeEvent
NotificationHistoryChangeEvent.type property = com.adobe.mediacore.events.NotificationHistoryChangeEvent.NOTIFICATION_ITEM_ADDED

Dispatched when the a notification is added to the history.s

Event dispatched when a new notification has been added to the history. The value property of this event contains the actual notification item being added.