Class BookmarkedConference
java.lang.Object
org.jivesoftware.smackx.bookmarks.BookmarkedConference
- All Implemented Interfaces:
SharedBookmark
Represents a Conference Room bookmarked on the server using XEP-0048 Bookmark Storage XEP.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBookmarkedConference(String name, org.jxmpp.jid.EntityBareJid jid, boolean autoJoin, org.jxmpp.jid.parts.Resourcepart nickname, String password) protectedBookmarkedConference(org.jxmpp.jid.EntityBareJid jid) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.jxmpp.jid.EntityBareJidgetJid()Returns the full JID of this conference room.getName()Returns the display label representing the Conference room.org.jxmpp.jid.parts.ResourcepartReturns the nickname to use when joining this conference room.Returns the password to use when joining this conference room.inthashCode()booleanReturns true if this conference room should be auto-joined on startup.booleanisShared()Returns true if this bookmark is shared.protected voidsetAutoJoin(boolean autoJoin) protected voidprotected voidsetNickname(org.jxmpp.jid.parts.Resourcepart nickname) protected voidsetPassword(String password) protected voidsetShared(boolean isShared)
-
Constructor Details
-
BookmarkedConference
protected BookmarkedConference(org.jxmpp.jid.EntityBareJid jid) -
BookmarkedConference
-
-
Method Details
-
getName
Returns the display label representing the Conference room.- Returns:
- the name of the conference room.
-
setName
-
isAutoJoin
public boolean isAutoJoin()Returns true if this conference room should be auto-joined on startup.- Returns:
- true if room should be joined on startup, otherwise false.
-
setAutoJoin
protected void setAutoJoin(boolean autoJoin) -
getJid
public org.jxmpp.jid.EntityBareJid getJid()Returns the full JID of this conference room. (ex.dev@conference.jivesoftware.com)- Returns:
- the full JID of this conference room.
-
getNickname
public org.jxmpp.jid.parts.Resourcepart getNickname()Returns the nickname to use when joining this conference room. This is an optional value and may return null.- Returns:
- the nickname to use when joining, null may be returned.
-
setNickname
protected void setNickname(org.jxmpp.jid.parts.Resourcepart nickname) -
getPassword
Returns the password to use when joining this conference room. This is an optional value and may return null.- Returns:
- the password to use when joining this conference room, null may be returned.
-
setPassword
-
equals
-
hashCode
public int hashCode()
-