public class OmemoDevice
extends java.lang.Object
Constructor and Description |
---|
OmemoDevice(org.jxmpp.jid.BareJid jid,
int deviceId)
Create a new OmemoDevice.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
java.lang.String |
getBundleNodeName()
Return the name of the PubSub
LeafNode of this device. |
int |
getDeviceId()
Return the OMEMO device Id of the device.
|
org.jxmpp.jid.BareJid |
getJid()
Return the BareJid of the device owner.
|
int |
hashCode() |
java.lang.String |
toString() |
public OmemoDevice(org.jxmpp.jid.BareJid jid, int deviceId)
jid
- jid of the contactdeviceId
- deviceId if the device.public org.jxmpp.jid.BareJid getJid()
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
public java.lang.String getBundleNodeName()
LeafNode
of this device.