|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PushApplicationServiceLevel>
net.rim.pushsdk.pushappmgmt.PushApplicationServiceLevel
public enum PushApplicationServiceLevel
The service level of a push application.
Push Essentials is less reliable, but more performance effective than Push Plus. With Push Essentials, push requests cannot be stored, no acknowledgement is allowed, application-level reliability is not supported, and status query is not supported.
| Enum Constant Summary | |
|---|---|
PUSH_ESSENTIALS
|
|
PUSH_PLUS
|
|
| Method Summary | |
|---|---|
String |
getServiceLevel()
Get the current service level. |
static PushApplicationServiceLevel |
getServiceLevel(String serviceLevel)
Get the service level associated with the passed in string. |
String |
toString()
Returns a textual description of the service level. |
static PushApplicationServiceLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PushApplicationServiceLevel[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PushApplicationServiceLevel PUSH_ESSENTIALS
public static final PushApplicationServiceLevel PUSH_PLUS
| Method Detail |
|---|
public static PushApplicationServiceLevel[] values()
for (PushApplicationServiceLevel c : PushApplicationServiceLevel.values()) System.out.println(c);
public static PushApplicationServiceLevel valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getServiceLevel()
public static PushApplicationServiceLevel getServiceLevel(String serviceLevel)
serviceLevel - a service level
IllegalArgumentException - if the service level passed in is invalidpublic String toString()
toString in class Enum<PushApplicationServiceLevel>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||