public static enum KakaoStoryService.StoryType extends Enum<KakaoStoryService.StoryType>
Enum Constant and Description |
---|
LINK
Link 타입의 스토리로, url로 부터 먼저 정보를 가지고 온 후, 그 결과가 포함되어야 한다.
|
NOT_SUPPORTED |
NOTE
Note 타입의 스토리로 text가 꼭 포함되어야 한다.
|
PHOTO
Photo 타입의 스토리로, 이미지를 먼저 업로드 한후에 이미지 url을 꼭 포함되어야 한다.
|
Modifier and Type | Method and Description |
---|---|
static KakaoStoryService.StoryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KakaoStoryService.StoryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KakaoStoryService.StoryType LINK
public static final KakaoStoryService.StoryType NOT_SUPPORTED
public static final KakaoStoryService.StoryType NOTE
public static final KakaoStoryService.StoryType PHOTO
public static KakaoStoryService.StoryType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static KakaoStoryService.StoryType[] values()
for (KakaoStoryService.StoryType c : KakaoStoryService.StoryType.values()) System.out.println(c);