public static enum LCIMMessage.MessageStatus extends Enum<LCIMMessage.MessageStatus>
Enum Constant and Description |
---|
StatusFailed |
StatusNone |
StatusRecalled |
StatusReceipt |
StatusSending |
StatusSent |
Modifier and Type | Method and Description |
---|---|
static LCIMMessage.MessageStatus |
getMessageStatus(int statusCode) |
int |
getStatusCode() |
static LCIMMessage.MessageStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LCIMMessage.MessageStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LCIMMessage.MessageStatus StatusNone
public static final LCIMMessage.MessageStatus StatusSending
public static final LCIMMessage.MessageStatus StatusSent
public static final LCIMMessage.MessageStatus StatusReceipt
public static final LCIMMessage.MessageStatus StatusFailed
public static final LCIMMessage.MessageStatus StatusRecalled
public static LCIMMessage.MessageStatus[] values()
for (LCIMMessage.MessageStatus c : LCIMMessage.MessageStatus.values()) System.out.println(c);
public static LCIMMessage.MessageStatus 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 int getStatusCode()
public static LCIMMessage.MessageStatus getMessageStatus(int statusCode)
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.