com.beem.project.beem.service
Class XmppFacade
java.lang.Object
android.os.Binder
com.beem.project.beem.service.aidl.IXmppFacade.Stub
com.beem.project.beem.service.XmppFacade
- All Implemented Interfaces:
- IBinder, IInterface, IXmppFacade
public class XmppFacade
- extends IXmppFacade.Stub
This class is a facade for the Beem Service.
| Methods inherited from class android.os.Binder |
attachInterface, clearCallingIdentity, dump, dump, finalize, flushPendingCommands, getCallingPid, getCallingUid, getInterfaceDescriptor, isBinderAlive, joinThreadPool, linkToDeath, pingBinder, queryLocalInterface, restoreCallingIdentity, transact, unlinkToDeath |
XmppFacade
public XmppFacade(BeemService service)
- Create an XmppFacade.
- Parameters:
service - the service providing the facade
changeStatus
public void changeStatus(int status,
String msg)
- Change the status of the user.
- Parameters:
status - the status to setmsg - the message state to set
connectAsync
public void connectAsync()
throws RemoteException
- Connect and login asynchronously on the server.
- Throws:
RemoteException
connectSync
public void connectSync()
throws RemoteException
- Connect and login synchronously on the server.
- Throws:
RemoteException
createConnection
public IXmppConnection createConnection()
throws RemoteException
- Get the XmppConnection of the facade.
- Throws:
RemoteException
disconnect
public void disconnect()
throws RemoteException
- Disconnect from the server
- Throws:
RemoteException
getChatManager
public IChatManager getChatManager()
throws RemoteException
- Get the chat manager.
- Throws:
RemoteException
getRoster
public IRoster getRoster()
throws RemoteException
- Get the roster of the user
- Throws:
RemoteException
getPrivacyListManager
public IPrivacyListManager getPrivacyListManager()
-
sendPresencePacket
public void sendPresencePacket(PresenceAdapter presence)
throws RemoteException
- Throws:
RemoteException
call
public void call(String jid)
throws RemoteException
- Description copied from interface:
IXmppFacade
- make a jingle audio call
- Parameters:
jid - the receiver id
- Throws:
RemoteException
publishAvatar
public boolean publishAvatar(Uri avatarUri)
throws RemoteException
- Throws:
RemoteException
disableAvatarPublishing
public void disableAvatarPublishing()
throws RemoteException
- Throws:
RemoteException
getUserInfo
public UserInfo getUserInfo()
throws RemoteException
- Description copied from interface:
IXmppFacade
- Get the user informations.
- Returns:
- null if not connected
- Throws:
RemoteException
Copyright © 2009 Beem-project.com. All Rights Reserved.