RebuildCacheService

public class RebuildCacheService extends Service implements IProgressor

Fields

ACTION_ADD_TASK

public static final String ACTION_ADD_TASK

ACTION_REMOVE_TASK

public static final String ACTION_REMOVE_TASK

ACTION_SHOW

public static final String ACTION_SHOW

ACTION_STOP

public static final String ACTION_STOP

ACTION_UPDATE

public static final String ACTION_UPDATE

KEY_MAX

public static final String KEY_MAX

KEY_PROGRESS

public static final String KEY_PROGRESS

NOTIFICATION_ID

protected static final int NOTIFICATION_ID

mBuilder

protected NotificationCompat.Builder mBuilder

mIsRunning

protected boolean mIsRunning

mLastUpdate

protected long mLastUpdate

mLayer

protected VectorLayer mLayer

mNotifyManager

protected NotificationManager mNotifyManager

mProgressIntent

protected Intent mProgressIntent

mProgressMax

protected int mProgressMax

mQueue

protected List<Integer> mQueue

Methods

isCanceled

public boolean isCanceled()

onBind

public IBinder onBind(Intent intent)

onCreate

public void onCreate()

onStartCommand

public int onStartCommand(Intent intent, int flags, int startId)

setIndeterminate

public void setIndeterminate(boolean indeterminate)

setMax

public void setMax(int maxValue)

setMessage

public void setMessage(String message)

setValue

public void setValue(int value)

startNextTask

protected void startNextTask()