public static enum EventLog.SecurityEventType extends java.lang.Enum<EventLog.SecurityEventType>
Enum Constant and Description |
---|
EncryptionIdentityKeyChanged
Peer device instant messaging encryption identity key has changed event.
|
ManInTheMiddleDetected
Man in the middle detected event.
|
None
Event is not a security event.
|
ParticipantMaxDeviceCountExceeded
Participant has exceeded the maximum number of device event.
|
SecurityLevelDowngraded
Chatroom security level downgraded event.
|
Modifier and Type | Field and Description |
---|---|
protected int |
mValue |
Modifier and Type | Method and Description |
---|---|
static EventLog.SecurityEventType |
fromInt(int value) |
int |
toInt() |
static EventLog.SecurityEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventLog.SecurityEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventLog.SecurityEventType None
public static final EventLog.SecurityEventType SecurityLevelDowngraded
public static final EventLog.SecurityEventType ParticipantMaxDeviceCountExceeded
public static final EventLog.SecurityEventType EncryptionIdentityKeyChanged
public static final EventLog.SecurityEventType ManInTheMiddleDetected
public static EventLog.SecurityEventType[] values()
for (EventLog.SecurityEventType c : EventLog.SecurityEventType.values()) System.out.println(c);
public static EventLog.SecurityEventType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static EventLog.SecurityEventType fromInt(int value) throws java.lang.RuntimeException
java.lang.RuntimeException
public int toInt()