com.beem.project.beem.service
Class RosterAdapter
java.lang.Object
android.os.Binder
com.beem.project.beem.service.aidl.IRoster.Stub
com.beem.project.beem.service.RosterAdapter
- All Implemented Interfaces:
- IBinder, IInterface, IRoster
public class RosterAdapter
- extends IRoster.Stub
This class implement a Roster adapter for BEEM.
| Nested classes/interfaces inherited from interface com.beem.project.beem.service.aidl.IRoster |
IRoster.Stub |
| Methods inherited from class android.os.Binder |
attachInterface, clearCallingIdentity, dump, dump, finalize, flushPendingCommands, getCallingPid, getCallingUid, getInterfaceDescriptor, isBinderAlive, joinThreadPool, linkToDeath, pingBinder, queryLocalInterface, restoreCallingIdentity, transact, unlinkToDeath |
RosterAdapter
public RosterAdapter(Roster roster,
Context context)
- Constructor.
- Parameters:
roster - The roster to adapt.context - The context of the RosterAdapter.
RosterAdapter
public RosterAdapter(Roster roster,
Context context,
AvatarManager avatarMgr)
- Constructor.
- Parameters:
roster - The roster to adapt.context - The context of the RosterAdapter.avatarMgr - The AvatarManager of the connection
addRosterListener
public void addRosterListener(IBeemRosterListener listen)
throws RemoteException
-
- Throws:
RemoteException
addContact
public boolean addContact(String user,
String name,
String[] groups)
throws RemoteException
-
- Throws:
RemoteException
deleteContact
public void deleteContact(Contact contact)
throws RemoteException
-
- Throws:
RemoteException
createGroup
public void createGroup(String groupname)
throws RemoteException
-
- Throws:
RemoteException
getContact
public Contact getContact(String jid)
throws RemoteException
-
- Throws:
RemoteException
getContactList
public List<Contact> getContactList()
throws RemoteException
-
- Throws:
RemoteException
getGroupsNames
public List<String> getGroupsNames()
throws RemoteException
-
- Throws:
RemoteException
removeRosterListener
public void removeRosterListener(IBeemRosterListener listen)
throws RemoteException
-
- Throws:
RemoteException
setContactName
public void setContactName(String jid,
String name)
throws RemoteException
-
- Throws:
RemoteException
getPresence
public PresenceAdapter getPresence(String jid)
throws RemoteException
- Throws:
RemoteException
addContactToGroup
public void addContactToGroup(String groupName,
String jid)
throws RemoteException
- Throws:
RemoteException
removeContactFromGroup
public void removeContactFromGroup(String groupName,
String jid)
throws RemoteException
- Throws:
RemoteException
Copyright © 2009 Beem-project.com. All Rights Reserved.