Code example for Sensor

Methods: getMaximumRange

0
 
        } 
 
        @Override 
        public void onAccuracyChanged(Sensor sensor, int i) {
            maxLevel = (long) sensor.getMaximumRange();
            lightLevel.setMax(maxLevel.intValue());
        } 
    } 
 
} 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE