Class OmemoDevice
- java.lang.Object
-
- org.jivesoftware.smackx.omemo.internal.OmemoDevice
-
public class OmemoDevice extends Object
Class that combines a BareJid and a deviceId.
-
-
Constructor Summary
Constructors Constructor Description OmemoDevice(BareJid jid, int deviceId)
Create a new OmemoDevice.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
String
getBundleNodeName()
Return the name of the PubSubLeafNode
of this device.int
getDeviceId()
Return the OMEMO device Id of the device.BareJid
getJid()
Return the BareJid of the device owner.int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
OmemoDevice
public OmemoDevice(BareJid jid, int deviceId)
Create a new OmemoDevice.- Parameters:
jid
- jid of the contactdeviceId
- deviceId if the device.
-
-
Method Detail
-
getJid
public BareJid getJid()
Return the BareJid of the device owner.- Returns:
- bare JID of the device owner.
-
getDeviceId
public int getDeviceId()
Return the OMEMO device Id of the device.- Returns:
- OMEMO device ID.
-
getBundleNodeName
public String getBundleNodeName()
Return the name of the PubSubLeafNode
of this device.- Returns:
- node name.
-
-