-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathNotificationEvent.as
More file actions
30 lines (24 loc) · 893 Bytes
/
NotificationEvent.as
File metadata and controls
30 lines (24 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package notification
{
import flash.events.Event;
public class NotificationEvent extends Event
{
public static const TOKEN_REGISTER_COMPELETED="TOKEN_REGISTER_COMPELETED"
public static const TOKEN_REGISTER_START = "TOKEN_REGISTER_START"
public static const NOTIFICATION:String = "NOTIFICATION";
public static const FOREGROUND_NOTIFICATION:String = "FOREGROUND_NOTIFICATION";
private var _tokenRegistered:Boolean
private var _notificatoin:PNEventManager;
public var notifData:Object ;
public function get notificatoin():PNEventManager
{
return _notificatoin
}
public function NotificationEvent(type:String,notificatoin:PNEventManager=null, bubbles:Boolean=false, cancelable:Boolean=false,notifDataInStringForman:Object=null)
{
super(type, bubbles, cancelable);
_notificatoin = notificatoin ;
notifData = notifDataInStringForman ;
}
}
}