private void LocationBarrierEnter(object sender, EventArgs e) { AwarenessBarrier enterBarrier = LocationBarrier.Enter(latitude, longitude, radius); BarrierUtils.AddBarrier(this, EnterBarrierLabel, enterBarrier, mPendingIntent); }
private void LocationBarrierStay(object sender, EventArgs e) { AwarenessBarrier stayBarrier = LocationBarrier.Stay(latitude, longitude, radius, mTimeOfDuration); BarrierUtils.AddBarrier(this, StayBarrierLabel, stayBarrier, mPendingIntent); }