Package com.vk.api.sdk.objects.messages
Enum MessageActionStatus
- java.lang.Object
-
- java.lang.Enum<MessageActionStatus>
-
- com.vk.api.sdk.objects.messages.MessageActionStatus
-
- All Implemented Interfaces:
EnumParam,java.io.Serializable,java.lang.Comparable<MessageActionStatus>
public enum MessageActionStatus extends java.lang.Enum<MessageActionStatus> implements EnumParam
Action status
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHAT_CREATECHAT_INVITE_USERCHAT_INVITE_USER_BY_LINKCHAT_INVITE_USER_BY_MESSAGE_REQUESTCHAT_KICK_USERCHAT_PHOTO_REMOVECHAT_PHOTO_UPDATECHAT_PIN_MESSAGECHAT_TITLE_UPDATECHAT_UNPIN_MESSAGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetValue()java.lang.StringtoString()static MessageActionStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MessageActionStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHAT_PHOTO_UPDATE
@SerializedName("chat_photo_update") public static final MessageActionStatus CHAT_PHOTO_UPDATE
-
CHAT_PHOTO_REMOVE
@SerializedName("chat_photo_remove") public static final MessageActionStatus CHAT_PHOTO_REMOVE
-
CHAT_CREATE
@SerializedName("chat_create") public static final MessageActionStatus CHAT_CREATE
-
CHAT_TITLE_UPDATE
@SerializedName("chat_title_update") public static final MessageActionStatus CHAT_TITLE_UPDATE
-
CHAT_INVITE_USER
@SerializedName("chat_invite_user") public static final MessageActionStatus CHAT_INVITE_USER
-
CHAT_KICK_USER
@SerializedName("chat_kick_user") public static final MessageActionStatus CHAT_KICK_USER
-
CHAT_PIN_MESSAGE
@SerializedName("chat_pin_message") public static final MessageActionStatus CHAT_PIN_MESSAGE
-
CHAT_UNPIN_MESSAGE
@SerializedName("chat_unpin_message") public static final MessageActionStatus CHAT_UNPIN_MESSAGE
-
CHAT_INVITE_USER_BY_LINK
@SerializedName("chat_invite_user_by_link") public static final MessageActionStatus CHAT_INVITE_USER_BY_LINK
-
CHAT_INVITE_USER_BY_MESSAGE_REQUEST
@SerializedName("chat_invite_user_by_message_request") public static final MessageActionStatus CHAT_INVITE_USER_BY_MESSAGE_REQUEST
-
-
Method Detail
-
values
public static MessageActionStatus[] 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 (MessageActionStatus c : MessageActionStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageActionStatus 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<MessageActionStatus>
-
-