Constructor and Description |
---|
ChatRoomBookmark(java.lang.String name,
Jid room)
Creates a conference bookmark.
|
ChatRoomBookmark(java.lang.String name,
Jid room,
java.lang.String nick,
java.lang.String password,
boolean autojoin)
Creates a conference bookmark.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getNick()
Gets the user’s preferred roomnick for the chatroom.
|
java.lang.String |
getPassword()
Gets the unencrypted string for the password needed to enter a password-protected room.
|
Jid |
getRoom()
Gets the JID of the chat room.
|
int |
hashCode() |
boolean |
isAutojoin()
Gets whether the client should automatically join the conference room on login.
|
java.lang.String |
toString() |
public ChatRoomBookmark(java.lang.String name, Jid room)
Creates a conference bookmark.
name
- The bookmark name.room
- The JID of the chat room.public ChatRoomBookmark(java.lang.String name, Jid room, java.lang.String nick, java.lang.String password, boolean autojoin)
Creates a conference bookmark.
name
- The bookmark name.room
- The JID of the chat room.nick
- The user’s preferred roomnick for the chatroom.password
- The unencrypted string for the password needed to enter a password-protected room. See also getPassword()
.autojoin
- Whether the client should automatically join the conference room on login.public final java.lang.String getNick()
Gets the user’s preferred roomnick for the chatroom.
public final java.lang.String getPassword()
Gets the unencrypted string for the password needed to enter a password-protected room. For security reasons, use of this element is NOT RECOMMENDED.
public final boolean isAutojoin()
Gets whether the client should automatically join the conference room on login.
public final Jid getRoom()
Gets the JID of the chat room.
public final boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public final int hashCode()
hashCode
in class java.lang.Object
public final java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014–2019 XMPP.rocks. All rights reserved.