proximity-sdk / com.estimote.proximity_sdk.api / ProximityObserver / startObserving

startObserving

abstract fun startObserving(vararg proximityZones: ProximityZone): Handler

Starts the actual BLE scanning. The scan will be performed according to the construction parameters of ProximityObserver set by using ProximityObserverBuilder. Notice, that depending on configuration, the ProximityObserver.startObserving method may invoke some additional network calls.

Parameters

proximityZones - zones to observe for.

Return
a Handler object that you should use to stop the scanning later on.

abstract fun startObserving(proximityZones: List<ProximityZone>): Handler

Starts the actual BLE scanning. The scan will be performed according to the construction parameters of ProximityObserver set by using ProximityObserverBuilder. Notice, that depending on configuration, the ProximityObserver.startObserving method may invoke some additional network calls.

Return
a Handler object that you should use to stop the scanning later on.