public abstract class

AbstractSyncService

extends IntentService
java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.app.Service
         ↳ android.app.IntentService
           ↳ com.kinvey.android.offline.AbstractSyncService
Known Direct Subclasses

Summary

Constants
String ACTION_OFFLINE_SYNC
[Expand]
Inherited Constants
From class android.app.Service
From class android.content.Context
From interface android.content.ComponentCallbacks2
Public Constructors
AbstractSyncService(String name)
Public Methods
void getFromStoreAndExecute()
This method grabs a list of all collection names from the db helper, iterates through them, and pops all their queues.
boolean isOnline()
Check if the device is connected.
[Expand]
Inherited Methods
From class android.app.IntentService
From class android.app.Service
From class android.content.ContextWrapper
From class android.content.Context
From class java.lang.Object
From interface android.content.ComponentCallbacks
From interface android.content.ComponentCallbacks2

Constants

public static final String ACTION_OFFLINE_SYNC

Constant Value: "com.kinvey.android.ACTION_OFFLINE_SYNC"

Public Constructors

public AbstractSyncService (String name)

Public Methods

public void getFromStoreAndExecute ()

This method grabs a list of all collection names from the db helper, iterates through them, and pops all their queues.

public boolean isOnline ()

Check if the device is connected.

Returns
  • true if device has connection, false if not