public static enum MyStoryInfo.StoryPermission extends Enum<MyStoryInfo.StoryPermission>
Enum Constant and Description |
---|
FRIEND
친구공개
|
ONLY_ME
나만보기
|
PUBLIC
전체공개
|
UNKNOWN
알수 없는 공개 범위
|
Modifier and Type | Method and Description |
---|---|
static MyStoryInfo.StoryPermission |
getPermission(String name) |
static MyStoryInfo.StoryPermission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MyStoryInfo.StoryPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MyStoryInfo.StoryPermission FRIEND
public static final MyStoryInfo.StoryPermission ONLY_ME
public static final MyStoryInfo.StoryPermission PUBLIC
public static final MyStoryInfo.StoryPermission UNKNOWN
public static MyStoryInfo.StoryPermission getPermission(String name)
public static MyStoryInfo.StoryPermission 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 MyStoryInfo.StoryPermission[] values()
for (MyStoryInfo.StoryPermission c : MyStoryInfo.StoryPermission.values()) System.out.println(c);
Copyright © 2015 Kakao Corp. All rights reserved.