AeroGear Android Library 1.2.1

org.jboss.aerogear.android.unifiedpush
Class PushConstants

java.lang.Object
  extended by 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.


Field Summary
static String DELETED
          An intent with this key means that the message it encapsulates refers to messages which have been deleted by the push provider.
static String ERROR
          Intents with this key indicate that some error occurred.
static 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)
 
Constructor Summary
PushConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

PushConstants

public PushConstants()

AeroGear Android Library 1.2.1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.