Enum SendMessageErrorCode
- java.lang.Object
-
- java.lang.Enum<SendMessageErrorCode>
-
- com.vk.api.sdk.objects.notifications.SendMessageErrorCode
-
- All Implemented Interfaces:
EnumParam,java.io.Serializable,java.lang.Comparable<SendMessageErrorCode>
public enum SendMessageErrorCode extends java.lang.Enum<SendMessageErrorCode> implements EnumParam
Error code
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APP_IS_NOT_INSTALLEDFLOOD_CONTROL_PER_DAYFLOOD_CONTROL_PER_HOURNOTIFICATIONS_DISABLED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetValue()java.lang.StringtoString()static SendMessageErrorCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SendMessageErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOTIFICATIONS_DISABLED
@SerializedName("1") public static final SendMessageErrorCode NOTIFICATIONS_DISABLED
-
FLOOD_CONTROL_PER_HOUR
@SerializedName("2") public static final SendMessageErrorCode FLOOD_CONTROL_PER_HOUR
-
FLOOD_CONTROL_PER_DAY
@SerializedName("3") public static final SendMessageErrorCode FLOOD_CONTROL_PER_DAY
-
APP_IS_NOT_INSTALLED
@SerializedName("4") public static final SendMessageErrorCode APP_IS_NOT_INSTALLED
-
-
Method Detail
-
values
public static SendMessageErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SendMessageErrorCode c : SendMessageErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SendMessageErrorCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<SendMessageErrorCode>
-
-