| Package | com.adobe.mediacore.notifications |
| Class | public class NotificationHistory |
| Inheritance | NotificationHistory flash.events.EventDispatcher |
See also
| Property | Defined 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 | ||
| Method | Defined By | ||
|---|---|---|---|
addNotification(notification:Notification):void
Adds a notification to the history. | NotificationHistory | ||
clearNotificationList():void
Clears the entire notification history. | NotificationHistory | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Dispatched when the a notification is added to the history.s | NotificationHistory | |||
| capacity | property |
capacity:uintReturns the maximum allowed size of the notifications list.
public function get capacity():uint public function set capacity(value:uint):void| notificationItems | property |
notificationItems:Vector.<NotificationHistoryItem> [read-only] The list of the notification objects stored in the circular manner.
public function get notificationItems():Vector.<NotificationHistoryItem>| size | property |
size:uint [read-only] Returns the current size of the notification history list
public function get size():uint| addNotification | () | method |
public function addNotification(notification:Notification):voidAdds a notification to the history.
Parameters
notification:Notification |
| clearNotificationList | () | method |
public function clearNotificationList():voidClears the entire notification history.
| notificationItemAdded | Event |
com.adobe.mediacore.events.NotificationHistoryChangeEventcom.adobe.mediacore.events.NotificationHistoryChangeEvent.NOTIFICATION_ITEM_ADDEDDispatched 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.