chatRoster.js

CandyChats are not dead yet.

Authors

Copyright

© 2011 Amiado Group AG.  All rights reserved.  © 2012-2014 Patrick Stadler & Michael Weibel.  All rights reserved.

Summary
chatRoster.js
Candy.Core.ChatRosterChat Roster
Variables
itemsRoster items
Functions
addAdd user to roster
removeRemove user from roster
getGet user from roster
getAllGet all items

Candy.Core.ChatRoster

Chat Roster

Summary
Variables
itemsRoster items
Functions
addAdd user to roster
removeRemove user from roster
getGet user from roster
getAllGet all items

Variables

items

this.items

Roster items

Functions

add

this.add = function(user)

Add user to roster

Parameters

(Candy.Core.ChatUser) userUser to add

remove

this.remove = function(jid)

Remove user from roster

Parameters

(String) jidUser jid

get

this.get = function(jid)

Get user from roster

Parameters

(String) jidUser jid

Returns

(Candy.Core.ChatUser)User

getAll

this.getAll = function()

Get all items

Returns

(Object)all roster items
this.items
Roster items
this.add = function(user)
Add user to roster
this.remove = function(jid)
Remove user from roster
this.get = function(jid)
Get user from roster
this.getAll = function()
Get all items
Close