ibeaconの信号をandroidで受信し、そのrssi値によって処理を変えたいのですがif文の条件をどうすればいいかわかりません。
以下のようにコードを書いたのですが、取得した値を参照できません。
初歩的な質問かと思いますが、お力添えをお願いいたします。

public void onBeaconServiceConnect() {
beaconManager.addRangeNotifier(new RangeNotifier() {
@Override
public void didRangeBeaconsInRegion(Collection<Beacon>beacons, Region region) {
for (beacon:beacons) {
Log.d("getBeacon", "UUID:" + beacon.getId1() + ", major:" +beacon.getId2()+ ", minor:" + beacon.getId3() + ",,Distance:" + beacon.getDistance()+ ",RSSI" + beacon.getRssi());
   }
}

public void didEnterRegion(Region region) {                                              // 領域侵入
            if(rssi<-100){
                textView.setText("入室");
                Log.d("BeaconLOG", "1 EnterRegion Success!!");
                advertising();
            }
        }