public abstract class XmppServiceConnection extends Object implements android.content.ServiceConnection, tigase.jaxmpp.core.client.XmppModule
| Constructor and Description |
|---|
XmppServiceConnection(String xmppServiceClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
doBindService(android.content.Context context) |
void |
doUnbindService(android.content.Context context) |
void |
getAccountsList(Callback<List<Account>> callback) |
void |
getAvatar(tigase.jaxmpp.core.client.BareJID jid,
Callback<Avatar> callback) |
void |
onServiceConnected(android.content.ComponentName name,
android.os.IBinder service) |
void |
onServiceDisconnected(android.content.ComponentName name) |
void |
send(tigase.jaxmpp.core.client.BareJID account,
tigase.jaxmpp.core.client.xml.Element element,
boolean requestCallback) |
public XmppServiceConnection(String xmppServiceClass)
public void doBindService(android.content.Context context)
public void doUnbindService(android.content.Context context)
public void getAccountsList(Callback<List<Account>> callback) throws android.os.RemoteException
android.os.RemoteExceptionpublic void getAvatar(tigase.jaxmpp.core.client.BareJID jid,
Callback<Avatar> callback)
throws android.os.RemoteException
android.os.RemoteExceptionpublic void onServiceConnected(android.content.ComponentName name,
android.os.IBinder service)
onServiceConnected in interface android.content.ServiceConnectionpublic void onServiceDisconnected(android.content.ComponentName name)
onServiceDisconnected in interface android.content.ServiceConnectionpublic void send(tigase.jaxmpp.core.client.BareJID account,
tigase.jaxmpp.core.client.xml.Element element,
boolean requestCallback)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException,
android.os.RemoteException
tigase.jaxmpp.core.client.exceptions.JaxmppExceptionandroid.os.RemoteExceptionCopyright © 2019. All rights reserved.