Enum StickerMessageContent.StickerResourceType
- java.lang.Object
-
- java.lang.Enum<StickerMessageContent.StickerResourceType>
-
- com.linecorp.bot.model.event.message.StickerMessageContent.StickerResourceType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<StickerMessageContent.StickerResourceType>
- Enclosing class:
- StickerMessageContent
public static enum StickerMessageContent.StickerResourceType extends java.lang.Enum<StickerMessageContent.StickerResourceType>
Resource type of a Sticker message content.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANIMATION
Animated sticker.ANIMATION_SOUND
Animated sticker with sound.CUSTOM
Custom sticker.MESSAGE
Message sticker.NAME_TEXT
Deprecated.discontinued.PER_STICKER_TEXT
Deprecated.discontinued.POPUP
Pop-up sticker.POPUP_SOUND
Pop-up sticker with sound.SOUND
Sticker with sound.STATIC
Image sticker.UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StickerMessageContent.StickerResourceType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StickerMessageContent.StickerResourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STATIC
public static final StickerMessageContent.StickerResourceType STATIC
Image sticker.
-
ANIMATION
public static final StickerMessageContent.StickerResourceType ANIMATION
Animated sticker.
-
SOUND
public static final StickerMessageContent.StickerResourceType SOUND
Sticker with sound.
-
ANIMATION_SOUND
public static final StickerMessageContent.StickerResourceType ANIMATION_SOUND
Animated sticker with sound.
-
POPUP
public static final StickerMessageContent.StickerResourceType POPUP
Pop-up sticker.
-
POPUP_SOUND
public static final StickerMessageContent.StickerResourceType POPUP_SOUND
Pop-up sticker with sound.
-
NAME_TEXT
@Deprecated public static final StickerMessageContent.StickerResourceType NAME_TEXT
Custom sticker. You can't retrieve the sticker's custom text with the Messaging API.- See Also:
CUSTOM
-
PER_STICKER_TEXT
@Deprecated public static final StickerMessageContent.StickerResourceType PER_STICKER_TEXT
Deprecated.discontinued.MESSAGE
is used instead ofPER_STICKER_TEXT
.Message sticker. You can't retrieve the sticker's custom text with the Messaging API.- See Also:
MESSAGE
-
MESSAGE
public static final StickerMessageContent.StickerResourceType MESSAGE
Message sticker.
-
CUSTOM
public static final StickerMessageContent.StickerResourceType CUSTOM
Custom sticker. You can't retrieve the sticker's custom text with the Messaging API.
-
UNKNOWN
public static final StickerMessageContent.StickerResourceType UNKNOWN
-
-
Method Detail
-
values
public static StickerMessageContent.StickerResourceType[] 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 (StickerMessageContent.StickerResourceType c : StickerMessageContent.StickerResourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StickerMessageContent.StickerResourceType 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
-
-