package net.squanchy.service.proximity.injection;

import net.squanchy.proximity.ProximityEvent;
import net.squanchy.proximity.ProximityProvider;

import io.reactivex.Observable;

/**
 * Created by cattaneostefano on 16/03/2017.
 */

public class ProximityService {

    private final ProximityProvider proximityProvider;

    public ProximityService(ProximityProvider provider) {
        this.proximityProvider = provider;
    }

    public Observable<ProximityEvent> observeProximityEvents(){
        return proximityProvider.observeProximityEvents();
    }

    public void startRadar(){
        proximityProvider.startRadar();
    }

}

@@ -177,62 +177,8 @@
 e;%0A%0A
-/**%0A * Created by cattaneostefano on 16/03/2017.%0A */%0A%0A
 publ

remove created by template