Package totalcross.ui.event
Class PushNotificationEvent
- java.lang.Object
-
- totalcross.ui.event.Event<PushNotificationListener>
-
- totalcross.ui.event.PushNotificationEvent
-
@Deprecated public class PushNotificationEvent extends Event<PushNotificationListener>
Deprecated.TimerEvent represents a control's timer. Timers are created and destroyed using the addTimer() and removeTimer() methods present in the Control class.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class totalcross.ui.event.Event
Event.Type<H>
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringmessageDeprecated.The message or the token, depending on the event typestatic intMESSAGE_RECEIVEDDeprecated.The event type for a message being received by serverstatic intTOKEN_RECEIVEDDeprecated.The event type for a token for this device being received by server
-
Constructor Summary
Constructors Constructor Description PushNotificationEvent(int type, java.lang.String msg)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddispatch(PushNotificationListener listener)Deprecated.java.lang.StringtoString()Deprecated.-
Methods inherited from class totalcross.ui.event.Event
clearQueue, getNextAvailableEventId, isAvailable, touch
-
-
-
-
Field Detail
-
TOKEN_RECEIVED
public static final int TOKEN_RECEIVED
Deprecated.The event type for a token for this device being received by server- See Also:
- Constant Field Values
-
MESSAGE_RECEIVED
public static final int MESSAGE_RECEIVED
Deprecated.The event type for a message being received by server- See Also:
- Constant Field Values
-
message
public java.lang.String message
Deprecated.The message or the token, depending on the event type
-
-
Method Detail
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classEvent<PushNotificationListener>
-
dispatch
public void dispatch(PushNotificationListener listener)
Deprecated.- Specified by:
dispatchin classEvent<PushNotificationListener>
-
-