FileDocCategorySizeDatePackage
GeofenceHardwareService.javaAPI DocAndroid 5.1 API5959Thu Mar 12 22:22:10 GMT 2015android.hardware.location

GeofenceHardwareService

public class GeofenceHardwareService extends android.app.Service
Service that handles hardware geofencing.
hide

Fields Summary
private GeofenceHardwareImpl
mGeofenceHardwareImpl
private android.content.Context
mContext
private android.os.IBinder
mBinder
Constructors Summary
Methods Summary
private voidcheckPermission(int pid, int uid, int monitoringType)

        if (mGeofenceHardwareImpl.getAllowedResolutionLevel(pid, uid) <
                mGeofenceHardwareImpl.getMonitoringResolutionLevel(monitoringType)) {
            throw new SecurityException("Insufficient permissions to access hardware geofence for"
                    + " type: " + monitoringType);
        }
    
public android.os.IBinderonBind(android.content.Intent intent)

        return mBinder;
    
public voidonCreate()

        mContext = this;
        mGeofenceHardwareImpl = GeofenceHardwareImpl.getInstance(mContext);
    
public voidonDestroy()

        mGeofenceHardwareImpl = null;
    
public booleanonUnbind(android.content.Intent intent)

        return false;