com.netmera.mobile.push
Class NetmeraGeofence

java.lang.Object
  extended by com.netmera.mobile.push.NetmeraGeofence

public class NetmeraGeofence
extends java.lang.Object


Constructor Summary
NetmeraGeofence()
           
 
Method Summary
 java.lang.Class<? extends android.app.Activity> getACTIVITY_CLASS()
          Deprecated. 
 android.location.Criteria getCriteria()
           
 long getIntervalMeters()
           
 long getIntervalSeconds()
           
 java.lang.Class<? extends NetmeraActivity> getPushActivityClass()
           
 java.lang.String getSenderId()
           
 boolean isAllowGPSForLocationTracking()
           
 void setAccuracy(int accuracy)
           
 void setActivityClass(java.lang.Class<? extends android.app.Activity> activityClass)
          Deprecated. use setPushActivityClass(Class)
 void setAllowGPSForLocationTracking(boolean allowGPSForLocationTracking)
           
 void setAltitudeRequired(boolean altitudeRequired)
           
 void setBearingRequired(boolean bearingRequired)
           
 void setCostAllowed(boolean costAllowed)
           
 void setCriteria(android.location.Criteria criteria)
           
 void setIntervalMeters(long intervalMeters)
           
 void setIntervalSeconds(long intervalSeconds)
           
 void setPowerRequirement(int level)
           
 void setPushActivityClass(java.lang.Class<? extends NetmeraActivity> pushActivityClass)
           
 void setSenderId(java.lang.String senderId)
           
 void setSpeedRequired(boolean speedRequired)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetmeraGeofence

public NetmeraGeofence()
Method Detail

setAccuracy

public void setAccuracy(int accuracy)

setPowerRequirement

public void setPowerRequirement(int level)

setAltitudeRequired

public void setAltitudeRequired(boolean altitudeRequired)

setBearingRequired

public void setBearingRequired(boolean bearingRequired)

setSpeedRequired

public void setSpeedRequired(boolean speedRequired)

setCostAllowed

public void setCostAllowed(boolean costAllowed)

getIntervalSeconds

public long getIntervalSeconds()

setIntervalSeconds

public void setIntervalSeconds(long intervalSeconds)

getIntervalMeters

public long getIntervalMeters()

setIntervalMeters

public void setIntervalMeters(long intervalMeters)

isAllowGPSForLocationTracking

public boolean isAllowGPSForLocationTracking()

setAllowGPSForLocationTracking

public void setAllowGPSForLocationTracking(boolean allowGPSForLocationTracking)

getSenderId

public java.lang.String getSenderId()

setSenderId

public void setSenderId(java.lang.String senderId)

getCriteria

public android.location.Criteria getCriteria()

setCriteria

public void setCriteria(android.location.Criteria criteria)

getACTIVITY_CLASS

@Deprecated
public java.lang.Class<? extends android.app.Activity> getACTIVITY_CLASS()
Deprecated. 

Use #getPushActivityClass(Class) instead this.

Returns:
extends Activity> activityClass

setActivityClass

@Deprecated
public void setActivityClass(java.lang.Class<? extends android.app.Activity> activityClass)
Deprecated. use setPushActivityClass(Class)

Parameters:
activityClass -

getPushActivityClass

public java.lang.Class<? extends NetmeraActivity> getPushActivityClass()

setPushActivityClass

public void setPushActivityClass(java.lang.Class<? extends NetmeraActivity> pushActivityClass)