public static enum NotificationProfileConstants.NotificationType extends java.lang.Enum<NotificationProfileConstants.NotificationType>
修飾子とタイプ | メソッドと説明 |
---|---|
static NotificationProfileConstants.NotificationType |
getInstance(int value)
通知のタイプの定数値からインスタンスを取得する.
|
int |
getValue()
値を取得する.
|
static NotificationProfileConstants.NotificationType |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static NotificationProfileConstants.NotificationType[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
public static final NotificationProfileConstants.NotificationType UNKNOWN
public static final NotificationProfileConstants.NotificationType PHONE
public static final NotificationProfileConstants.NotificationType MAIL
public static final NotificationProfileConstants.NotificationType SMS
public static final NotificationProfileConstants.NotificationType EVENT
public static NotificationProfileConstants.NotificationType[] values()
for(NotificationProfileConstants.NotificationType c: NotificationProfileConstants.NotificationType.values()) System.out.println(c);
public static NotificationProfileConstants.NotificationType valueOf(java.lang.String name)
name
- 返される列挙型定数の名前。java.lang.IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合java.lang.NullPointerException
- 引数がnullの場合public int getValue()
public static NotificationProfileConstants.NotificationType getInstance(int value)
value
- コード