AeroGear Android Library 1.2.0

org.jboss.aerogear.android.unifiedpush
Class PushConfig

java.lang.Object
  extended by org.jboss.aerogear.android.unifiedpush.PushConfig
All Implemented Interfaces:
Serializable

public class PushConfig
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
 com.google.common.collect.ImmutableSet<String> senderIds
           
 
Constructor Summary
PushConfig(String... senderId)
           
PushConfig(URI pushServerURI, String... senderId)
           
 
Method Summary
 String getAlias()
          The Alias is an identifier of the user of the system.
 String getCategory()
          The category specifies a channel which may be used to send messages
 String getDeviceToken()
          The device token Identifies the device within its Push Network.
 String getDeviceType()
          Device type determines which cloud messaging system will be used by the AeroGear Unified Push Server Defaults to ANDROID
 String getOperatingSystem()
          The name of the operating system.
 String getOsVersion()
          The version of the operating system running.
 URI getPushServerURI()
          RegistryURL is the URL of the 3rd party application server
 String getSecret()
          Secret of the Variant from the AeroGear UnifiedPush Server.
 PushType getType()
          The type is a key which is used by Registrations to know which implementation of PushRegister to use.
 String getVariantID()
          ID of the Variant from the AeroGear UnifiedPush Server.
 void setAlias(String alias)
          The Alias is an identifier of the user of the system.
 void setCategory(String category)
          The category specifies a channel which may be used to send messages
 void setDeviceToken(String deviceToken)
          The device token Identifies the device within its Push Network.
 void setDeviceType(String deviceType)
          Device type determines which cloud messaging system will be used by the AeroGear Unified Push Server.
 void setOperatingSystem(String operatingSystem)
          The name of the operating system.
 void setOsVersion(String osVersion)
          The version of the operating system running.
 void setPushServerURI(URI pushServerURI)
          RegistryURL is the URL of the 3rd party application server
 void setSecret(String secret)
          Secret of the Variant from the AeroGear UnifiedPush Server.
 void setType(PushType type)
          The type is a key which is used by Registrations to know which implementation of PushRegister to use.
 void setVariantID(String variantID)
          ID of the Variant from the AeroGear UnifiedPush Server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

senderIds

public final com.google.common.collect.ImmutableSet<String> senderIds
Constructor Detail

PushConfig

public PushConfig(URI pushServerURI,
                  String... senderId)

PushConfig

public PushConfig(String... senderId)
Method Detail

getDeviceToken

public String getDeviceToken()
The device token Identifies the device within its Push Network. It is the value = GoogleCloudMessaging.getInstance(context).register(SENDER_ID);


setDeviceToken

public void setDeviceToken(String deviceToken)
The device token Identifies the device within its Push Network. It is the value = GoogleCloudMessaging.getInstance(context).register(SENDER_ID);


getVariantID

public String getVariantID()
ID of the Variant from the AeroGear UnifiedPush Server.


setVariantID

public void setVariantID(String variantID)
ID of the Variant from the AeroGear UnifiedPush Server.


getSecret

public String getSecret()
Secret of the Variant from the AeroGear UnifiedPush Server.


setSecret

public void setSecret(String secret)
Secret of the Variant from the AeroGear UnifiedPush Server.


getDeviceType

public String getDeviceType()
Device type determines which cloud messaging system will be used by the AeroGear Unified Push Server Defaults to ANDROID


setDeviceType

public void setDeviceType(String deviceType)
Device type determines which cloud messaging system will be used by the AeroGear Unified Push Server. Defaults to ANDROID


getOperatingSystem

public String getOperatingSystem()
The name of the operating system. Defaults to Android


setOperatingSystem

public void setOperatingSystem(String operatingSystem)
The name of the operating system. Defaults to Android


getOsVersion

public String getOsVersion()
The version of the operating system running. Defaults to the value provided by android.os.Build.VERSION.RELEASE


setOsVersion

public void setOsVersion(String osVersion)
The version of the operating system running. Defaults to the value provided by android.os.Build.VERSION.RELEASE


getAlias

public String getAlias()
The Alias is an identifier of the user of the system. Examples are an email address or a username


setAlias

public void setAlias(String alias)
The Alias is an identifier of the user of the system. Examples are an email address or a username


getCategory

public String getCategory()
The category specifies a channel which may be used to send messages


setCategory

public void setCategory(String category)
The category specifies a channel which may be used to send messages


getType

public PushType getType()
The type is a key which is used by Registrations to know which implementation of PushRegister to use.

Returns:
the current type

setType

public void setType(PushType type)
The type is a key which is used by Registrations to know which implementation of PushRegister to use.


getPushServerURI

public URI getPushServerURI()
RegistryURL is the URL of the 3rd party application server

Returns:
the current pushServerURI

setPushServerURI

public void setPushServerURI(URI pushServerURI)
RegistryURL is the URL of the 3rd party application server


AeroGear Android Library 1.2.0

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