public class OmemoDevice extends java.lang.Object
Constructor and Description |
---|
OmemoDevice(BareJid jid,
int deviceId)
Create a new OmemoDevice.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
int |
getDeviceId()
Return the OMEMO device Id of the device.
|
BareJid |
getJid()
Return the BareJid of the device owner.
|
int |
hashCode() |
java.lang.String |
toString() |
public OmemoDevice(BareJid jid, int deviceId)
jid
- jid of the contactdeviceId
- deviceId if the device.public int getDeviceId()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object