public class JaxmppService
extends android.app.Service
| Modifier and Type | Field and Description |
|---|---|
static String |
ACTION_FILETRANSFER |
long |
currentChatIdFocus |
protected static boolean |
focused |
static String |
MUC_ERROR_MSG |
protected NotificationHelper |
notificationHelper |
protected Timer |
timer |
protected static String |
userStatusMessage |
protected static tigase.jaxmpp.core.client.xmpp.stanzas.Presence.Show |
userStatusShow |
START_CONTINUATION_MASK, START_FLAG_REDELIVERY, START_FLAG_RETRY, START_NOT_STICKY, START_REDELIVER_INTENT, START_STICKY, START_STICKY_COMPATIBILITYACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, AUDIO_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_IMPORTANT, BIND_NOT_FOREGROUND, BIND_WAIVE_PRIORITY, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, DEVICE_POLICY_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_ROUTER_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, POWER_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, STORAGE_SERVICE, TELEPHONY_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, UI_MODE_SERVICE, USB_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_P2P_SERVICE, WIFI_SERVICE, WINDOW_SERVICE| Constructor and Description |
|---|
JaxmppService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
changeRosterItem(tigase.jaxmpp.core.client.xmpp.modules.roster.RosterModule.RosterEvent be) |
static void |
disable(tigase.jaxmpp.core.client.SessionObject jaxmpp,
boolean disabled) |
protected void |
enableMessageCarbons(tigase.jaxmpp.core.client.SessionObject sessionObject) |
protected MultiJaxmpp |
getMulti() |
protected tigase.jaxmpp.core.client.Connector.State |
getState(tigase.jaxmpp.core.client.SessionObject object) |
static boolean |
isDisabled(tigase.jaxmpp.core.client.SessionObject jaxmpp) |
static boolean |
isServiceActive() |
android.os.IBinder |
onBind(android.content.Intent intent) |
protected void |
onConnectorError(tigase.jaxmpp.core.client.Connector.ConnectorEvent be) |
void |
onCreate() |
void |
onDestroy() |
protected void |
onMucOccupantLeave(tigase.jaxmpp.core.client.xmpp.modules.muc.MucModule.MucEvent be) |
protected void |
onMucPresenceError(tigase.jaxmpp.core.client.xmpp.modules.muc.MucModule.MucEvent be) |
void |
onNetworkChanged(android.net.NetworkInfo netInfo) |
protected void |
onPageChanged(int pageIndex) |
void |
onStart(android.content.Intent intent,
int startId) |
int |
onStartCommand(android.content.Intent intent,
int flags,
int startId) |
protected void |
onSubscribeRequest(tigase.jaxmpp.core.client.xmpp.modules.presence.PresenceModule.PresenceEvent be) |
protected void |
reconnectIfAvailable(tigase.jaxmpp.core.client.SessionObject sessionObject) |
protected void |
sendUnsentMessages() |
protected void |
showChatNotification(tigase.jaxmpp.core.client.xmpp.modules.chat.MessageModule.MessageEvent event) |
protected void |
showMucMessageNotification(tigase.jaxmpp.core.client.xmpp.modules.muc.MucModule.MucEvent be) |
protected void |
storeIncomingMessage(tigase.jaxmpp.core.client.xmpp.modules.chat.MessageModule.MessageEvent be,
boolean showNotification) |
protected void |
storeOutgoingMessage(tigase.jaxmpp.core.client.xmpp.modules.chat.MessageModule.MessageEvent be) |
protected void |
storeReceivedReceipt(tigase.jaxmpp.core.client.xmpp.modules.chat.MessageModule.MessageEvent be) |
static void |
updateJaxmppInstances(MultiJaxmpp multi,
android.content.ContentResolver contentResolver,
android.content.res.Resources resources,
android.content.Context context) |
protected void |
updateRosterItem(tigase.jaxmpp.core.client.xmpp.modules.presence.PresenceModule.PresenceEvent be) |
dump, getApplication, onConfigurationChanged, onLowMemory, onRebind, onTaskRemoved, onTrimMemory, onUnbind, startForeground, stopForeground, stopSelf, stopSelf, stopSelfResultattachBaseContext, bindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkUriPermission, checkUriPermission, clearWallpaper, createPackageContext, databaseList, deleteDatabase, deleteFile, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAssets, getBaseContext, getCacheDir, getClassLoader, getContentResolver, getDatabasePath, getDir, getExternalCacheDir, getExternalFilesDir, getFilesDir, getFileStreamPath, getMainLooper, getObbDir, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getResources, getSharedPreferences, getSystemService, getTheme, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isRestricted, openFileInput, openFileOutput, openOrCreateDatabase, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, revokeUriPermission, sendBroadcast, sendBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendStickyBroadcast, sendStickyOrderedBroadcast, setTheme, setWallpaper, setWallpaper, startActivities, startActivities, startActivity, startActivity, startInstrumentation, startIntentSender, startIntentSender, startService, stopService, unbindService, unregisterReceiverpublic static final String ACTION_FILETRANSFER
protected static boolean focused
public static final String MUC_ERROR_MSG
protected static String userStatusMessage
protected static tigase.jaxmpp.core.client.xmpp.stanzas.Presence.Show userStatusShow
public long currentChatIdFocus
protected NotificationHelper notificationHelper
protected final Timer timer
public static void disable(tigase.jaxmpp.core.client.SessionObject jaxmpp,
boolean disabled)
public static boolean isDisabled(tigase.jaxmpp.core.client.SessionObject jaxmpp)
public static boolean isServiceActive()
public static void updateJaxmppInstances(MultiJaxmpp multi, android.content.ContentResolver contentResolver, android.content.res.Resources resources, android.content.Context context)
protected void changeRosterItem(tigase.jaxmpp.core.client.xmpp.modules.roster.RosterModule.RosterEvent be)
protected void enableMessageCarbons(tigase.jaxmpp.core.client.SessionObject sessionObject)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
tigase.jaxmpp.core.client.exceptions.JaxmppExceptionprotected final MultiJaxmpp getMulti()
protected final tigase.jaxmpp.core.client.Connector.State getState(tigase.jaxmpp.core.client.SessionObject object)
public android.os.IBinder onBind(android.content.Intent intent)
onBind in class android.app.Serviceprotected void onConnectorError(tigase.jaxmpp.core.client.Connector.ConnectorEvent be)
public void onCreate()
onCreate in class android.app.Servicepublic void onDestroy()
onDestroy in class android.app.Serviceprotected void onMucOccupantLeave(tigase.jaxmpp.core.client.xmpp.modules.muc.MucModule.MucEvent be)
throws tigase.jaxmpp.core.client.xml.XMLException
tigase.jaxmpp.core.client.xml.XMLExceptionprotected void onMucPresenceError(tigase.jaxmpp.core.client.xmpp.modules.muc.MucModule.MucEvent be)
throws tigase.jaxmpp.core.client.xml.XMLException
tigase.jaxmpp.core.client.xml.XMLExceptionpublic void onNetworkChanged(android.net.NetworkInfo netInfo)
protected void onPageChanged(int pageIndex)
public void onStart(android.content.Intent intent,
int startId)
onStart in class android.app.Servicepublic int onStartCommand(android.content.Intent intent,
int flags,
int startId)
onStartCommand in class android.app.Serviceprotected void onSubscribeRequest(tigase.jaxmpp.core.client.xmpp.modules.presence.PresenceModule.PresenceEvent be)
protected void reconnectIfAvailable(tigase.jaxmpp.core.client.SessionObject sessionObject)
protected void sendUnsentMessages()
protected void showChatNotification(tigase.jaxmpp.core.client.xmpp.modules.chat.MessageModule.MessageEvent event)
throws tigase.jaxmpp.core.client.xml.XMLException
tigase.jaxmpp.core.client.xml.XMLExceptionprotected void showMucMessageNotification(tigase.jaxmpp.core.client.xmpp.modules.muc.MucModule.MucEvent be)
throws tigase.jaxmpp.core.client.xml.XMLException
tigase.jaxmpp.core.client.xml.XMLExceptionprotected void storeIncomingMessage(tigase.jaxmpp.core.client.xmpp.modules.chat.MessageModule.MessageEvent be,
boolean showNotification)
throws tigase.jaxmpp.core.client.xml.XMLException
tigase.jaxmpp.core.client.xml.XMLExceptionprotected void storeOutgoingMessage(tigase.jaxmpp.core.client.xmpp.modules.chat.MessageModule.MessageEvent be)
throws tigase.jaxmpp.core.client.xml.XMLException
tigase.jaxmpp.core.client.xml.XMLExceptionprotected void storeReceivedReceipt(tigase.jaxmpp.core.client.xmpp.modules.chat.MessageModule.MessageEvent be)
throws tigase.jaxmpp.core.client.xml.XMLException
tigase.jaxmpp.core.client.xml.XMLExceptionprotected void updateRosterItem(tigase.jaxmpp.core.client.xmpp.modules.presence.PresenceModule.PresenceEvent be)
throws tigase.jaxmpp.core.client.xml.XMLException
tigase.jaxmpp.core.client.xml.XMLExceptionCopyright © 2019. All rights reserved.