Enumeration remapping the lime::PeerDeviceStatus.
More...
|
int | getNative () |
| get the native value (used to give input parameter values) More...
|
|
Enumeration remapping the lime::PeerDeviceStatus.
org.linphone.lime.LimePeerDeviceStatus.LimePeerDeviceStatus |
( |
int |
val | ) |
|
|
inline |
static method to get an enum value from the native jni integer(used as returned value by native function)
- Parameters
-
[in] | val | integer value mapped to the jni enum |
- Returns
- one of the enumeration value, unknown input will silently default to UNKNOWN
int org.linphone.lime.LimePeerDeviceStatus.getNative |
( |
| ) |
|
|
inlineprotected |
get the native value (used to give input parameter values)
- Returns
- the native value associated
org.linphone.lime.LimePeerDeviceStatus.FAIL =(3) |
when returned by decrypt : we could not decrypt the incoming message
when returned by encrypt in the peerStatus: we could not encrypt to this recipient(probably because it does not published keys on the X3DH server)
org.linphone.lime.LimePeerDeviceStatus.TRUSTED =(1) |
this peer device already got its public identity key validated, that information shall be displayed to the end user too
org.linphone.lime.LimePeerDeviceStatus.UNKNOWN =(4) |
when returned after encryption or decryption, means it is the first time we communicate with this device (and thus create a DR session with it)
when returned by a get_peerDeviceStatus: this device is not in localStorage
org.linphone.lime.LimePeerDeviceStatus.UNSAFE =(2) |
this status is a helper for the library user. It is used only by the peerDeviceStatus accessor functions
org.linphone.lime.LimePeerDeviceStatus.UNTRUSTED =(0) |
we know this device but do not trust it, that information shall be displayed to the end user, a colour code shall be enough
The documentation for this enum was generated from the following file: