Class OmemoDevice
java.lang.Object
org.jivesoftware.smackx.omemo.internal.OmemoDevice
Class that combines a BareJid and a deviceId.
-
Constructor Summary
ConstructorsConstructorDescriptionOmemoDevice(org.jxmpp.jid.BareJid jid, int deviceId) Create a new OmemoDevice. -
Method Summary
-
Constructor Details
-
OmemoDevice
public OmemoDevice(org.jxmpp.jid.BareJid jid, int deviceId) Create a new OmemoDevice.- Parameters:
jid- jid of the contactdeviceId- deviceId if the device.
-
-
Method Details
-
getJid
public org.jxmpp.jid.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.
-
toString
-
equals
-
hashCode
public int hashCode() -
getBundleNodeName
Return the name of the PubSubLeafNodeof this device.- Returns:
- node name.
-