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 ANIMATIONAnimated sticker.ANIMATION_SOUNDAnimated sticker with sound.NAME_TEXTCustom sticker.PER_STICKER_TEXTMessage sticker.POPUPPop-up sticker.POPUP_SOUNDPop-up sticker with sound.SOUNDSticker with sound.STATICImage sticker.UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StickerMessageContent.StickerResourceTypevalueOf(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
public static final StickerMessageContent.StickerResourceType NAME_TEXT
Custom sticker. You can't retrieve the sticker's custom text with the Messaging API.
-
PER_STICKER_TEXT
public static final StickerMessageContent.StickerResourceType PER_STICKER_TEXT
Message 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
-
-