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
ModifierConstructorDescriptionprotected
BookmarkedConference
(String name, EntityBareJid jid, boolean autoJoin, Resourcepart nickname, String password) protected
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getJid()
Returns the full JID of this conference room.getName()
Returns the display label representing the Conference room.Returns the nickname to use when joining this conference room.Returns the password to use when joining this conference room.int
hashCode()
boolean
Returns true if this conference room should be auto-joined on startup.boolean
isShared()
Returns true if this bookmark is shared.protected void
setAutoJoin
(boolean autoJoin) protected void
protected void
setNickname
(Resourcepart nickname) protected void
setPassword
(String password) protected void
setShared
(boolean isShared)
-
Constructor Details
-
BookmarkedConference
-
BookmarkedConference
protected BookmarkedConference(String name, EntityBareJid jid, boolean autoJoin, Resourcepart nickname, String password)
-
-
Method Details
-
getName
Returns the display label representing the Conference room.- Returns:
- the name of the conference room.
-
setName
-
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
-
getJid
Returns the full JID of this conference room. (ex.dev@conference.jivesoftware.com)- Returns:
- the full JID of this conference room.
-
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
-
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
-