com.vodafone360.people.engine.upgrade
Class VersionCheck

java.lang.Object
  extended by com.vodafone360.people.engine.upgrade.VersionCheck

public class VersionCheck
extends java.lang.Object

Manages the application version check functionality.


Field Summary
private  long mCheckFrequencyMillis
           
private  Context mContext
           
private  boolean mForce
           
private  UpgradeStatus mUpgradeStatus
           
 
Constructor Summary
VersionCheck(Context context, boolean force)
          Constructor.
 
Method Summary
 UpgradeStatus getCachedUpdateStatus()
          Returns the cached UpgradeStatus, if one is already known to be available.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mContext

private Context mContext

mUpgradeStatus

private UpgradeStatus mUpgradeStatus

mCheckFrequencyMillis

private long mCheckFrequencyMillis

mForce

private boolean mForce
Constructor Detail

VersionCheck

public VersionCheck(Context context,
                    boolean force)
Constructor.

Parameters:
context - - the context to use
force -
Method Detail

getCachedUpdateStatus

public UpgradeStatus getCachedUpdateStatus()
Returns the cached UpgradeStatus, if one is already known to be available.

Returns:
UpgradeStatus


JavaDoc