org.jboss.aerogear.android.unifiedpush
Class PushConstants
java.lang.Object
org.jboss.aerogear.android.unifiedpush.PushConstants
public final class PushConstants
- extends Object
This class contains static strings which are used as constant keys on Intents
passed into the Registrars#notifyHandlers methods.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERROR
public static final String ERROR
- Intents with this key indicate that some error occurred. There may be
extra information in the Intent.
Registrations.notifyHandlers(android.content.Context, android.content.Intent, org.jboss.aerogear.android.unifiedpush.MessageHandler)
will pass this message to MessageHandler.onError()
- See Also:
- Constant Field Values
MESSAGE
public static final String MESSAGE
- Intents with this key encapsulate a push message
Registrations.notifyHandlers(android.content.Context, android.content.Intent, org.jboss.aerogear.android.unifiedpush.MessageHandler)
will pass this message to MessageHandler.onMessage(android.content.Context, android.os.Bundle)
- See Also:
- Constant Field Values
DELETED
public static final String DELETED
- An intent with this key means that the message it encapsulates refers to
messages which have been deleted by the push provider.
Registrations.notifyHandlers(android.content.Context, android.content.Intent, org.jboss.aerogear.android.unifiedpush.MessageHandler)
will pass this message to MessageHandler.onDeleteMessage(android.content.Context, android.os.Bundle)
- See Also:
- Constant Field Values
PushConstants
public PushConstants()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.