@Deprecated public class PushNotificationEvent extends Event<PushNotificationListener>
Event.Type<H>
Modifier and Type | Field and Description |
---|---|
java.lang.String |
message
Deprecated.
The message or the token, depending on the event type
|
static int |
MESSAGE_RECEIVED
Deprecated.
The event type for a message being received by server
|
static int |
TOKEN_RECEIVED
Deprecated.
The event type for a token for this device being received by server
|
Constructor and Description |
---|
PushNotificationEvent(int type,
java.lang.String msg)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
dispatch(PushNotificationListener listener)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
clearQueue, getNextAvailableEventId, isAvailable, touch
public static final int TOKEN_RECEIVED
public static final int MESSAGE_RECEIVED
public java.lang.String message
@Deprecated public PushNotificationEvent(int type, java.lang.String msg)
public java.lang.String toString()
toString
in class Event<PushNotificationListener>
public void dispatch(PushNotificationListener listener)
dispatch
in class Event<PushNotificationListener>