public enum MpnRegistrationIdStatus extends java.lang.Enum<MpnRegistrationIdStatus>
MpnRegistrationListener.registrationSucceeded(String, MpnRegistrationIdStatus)
after comparison with the previously known registration ID. It's
possible values are:FirstUse
: there was no previously known registration ID;
NotChanged:
the previsouly known registration ID matches the current one;
Changed
: the previously known registration ID differs from the current one.
LSClient.registerForMpn(android.content.Context, String, MpnRegistrationListener)
for more information.Enum Constant and Description |
---|
Changed
Registration ID status indicating that the previously known registration ID differs from the current one
|
FirstUse
Registration ID status indicating that there was no previously known registration ID.
|
NotChanged
Registration ID status indicating that the previsouly known registration ID matches the current one
|
Modifier and Type | Method and Description |
---|---|
static MpnRegistrationIdStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MpnRegistrationIdStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MpnRegistrationIdStatus FirstUse
public static final MpnRegistrationIdStatus NotChanged
public static final MpnRegistrationIdStatus Changed
public static MpnRegistrationIdStatus[] values()
for (MpnRegistrationIdStatus c : MpnRegistrationIdStatus.values()) System.out.println(c);
public static MpnRegistrationIdStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null