com.netmera.mobile
Class NetmeraGeofenceService

java.lang.Object
  extended by com.netmera.mobile.NetmeraGeofenceService

Deprecated. This class is used to activate / deactivate Geofence Service, use NetmeraLocationService class instead.

@Deprecated
public class NetmeraGeofenceService
extends java.lang.Object


Method Summary
static void init(NetmeraGeofence geofence, android.content.Context context)
          Deprecated. To be able to start Geofence Service, you should first call this method with the given parameters.
static void startGeofenceService()
          Deprecated. Starts Geofence Service of Netmera.
static void stopGeofenceService()
          Deprecated. Stops Geofence Service.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

public static void init(NetmeraGeofence geofence,
                        android.content.Context context)
                 throws NetmeraException
Deprecated. 
To be able to start Geofence Service, you should first call this method with the given parameters.

Parameters:
geofence - a NetmeraGeofence instance
context - a Context instance
Throws:
NetmeraException - if your Netmera account type does not have GeofenceService usage permission.

startGeofenceService

public static void startGeofenceService()
Deprecated. 
Starts Geofence Service of Netmera. After calling this method, your app will start location tracking.


stopGeofenceService

public static void stopGeofenceService()
Deprecated. 
Stops Geofence Service. After calling this method, your app will no longer get location updates.