Interface | Description |
---|---|
com.digi.android.temperature.ICPUTemperatureListener |
This functionality is now in the
CPUManager class.
Use ICPUTemperatureListener instead. |
Class | Description |
---|---|
com.digi.android.temperature.CPUTemperatureManager |
This functionality is now in the
CPUManager class.
Use CPUManager instead. |
Field | Description |
---|---|
com.digi.android.pwm.PWM.FREQUENCY |
This constant is no longer acceptable for default frequency. Use
PWM.getFrequency() |
com.digi.android.temperature.CPUTemperatureManager.MINIMUM_INTERVAL |
This field is replaced by
CPUManager.MINIMUM_TEMP_INTERVAL . |
com.digi.android.pwm.PWM.PERIOD |
This constant is no longer acceptable for default period. Use
PWM.getPeriod() |
Method | Description |
---|---|
com.digi.android.adc.ADCManager.createADC(int) |
This method is replaced by
ADCManager.createADC(ADCChip, int) . |
com.digi.android.pwm.PWMManager.createPWM(int) |
This method is no longer acceptable to create a PWM object.
Use |
com.digi.android.temperature.CPUTemperatureManager.getCriticalTemperature() |
This functionality is now in the
CPUManager class.
Use CPUManager.getCriticalTemperature() instead:
CPUManager manager = new CPUManager(context); manager.getCriticalTemperature(); |
com.digi.android.temperature.CPUTemperatureManager.getCurrentTemperature() |
This functionality is now in the
CPUManager class.
Use CPUManager.getCurrentTemperature() instead:
CPUManager manager = new CPUManager(context); manager.getCurrentTemperature(); |
com.digi.android.pwm.PWM.getDutyCycle() |
This method is no longer acceptable to read the PWM channel duty cycle percentage.
Use |
com.digi.android.temperature.CPUTemperatureManager.getHotTemperature() |
This functionality is now in the
CPUManager class.
Use CPUManager.getHotTemperature() instead:
CPUManager manager = new CPUManager(context); manager.getHotTemperature(); |
com.digi.android.system.cpu.GovernorCommonBase.getMinSamplingRate() |
This functionality is not available for kernel 4.14 or
higher. In this case the method returns
MIN_SAMPLING_RATE . |
com.digi.android.pwm.PWMManager.listChannels() |
This method is no longer acceptable to list PWM channels.
Use |
com.digi.android.temperature.CPUTemperatureManager.registerListener(ICPUTemperatureListener, long) |
This functionality is now in the
CPUManager class.
Use CPUManager#registerListener(ICPUTemperatureListener, long)
instead:
CPUManager manager = new CPUManager(context); ICPUTemperatureListener tempListener = new ICPUTemperatureListener() { @Override public void onTemperatureUpdate(float temperature) { // Do stuff. } }); manager.registerListener(tempListener, 1000); |
com.digi.android.temperature.CPUTemperatureManager.setCriticalTemperature(float) |
This functionality is now in the
CPUManager class.
Use CPUManager.setCriticalTemperature(float) instead:
CPUManager manager = new CPUManager(context); manager.setCriticalTemperature(75); |
com.digi.android.pwm.PWM.setDutyCycle(double) |
This method is no longer acceptable to set the PWM channel duty cycle percentage.
Use |
com.digi.android.temperature.CPUTemperatureManager.setHotTemperature(float) |
This functionality is now in the
CPUManager class.
Use CPUManager.setHotTemperature(float) instead:
CPUManager manager = new CPUManager(context); manager.setHotTemperature(85); |
com.digi.android.temperature.CPUTemperatureManager.unregisterListener(ICPUTemperatureListener) |
This functionality is now in the
CPUManager class.
Use CPUManager#registerListener(ICPUTemperatureListener, long)
instead:
CPUManager manager = new CPUManager(context); ICPUTemperatureListener tempListener = new ICPUTemperatureListener() { @Override public void onTemperatureUpdate(float temperature) { // Do stuff. } }); manager.registerListener(tempListener, 1000); manager.unregisterListener(tempListener); |
Constructor | Description |
---|---|
com.digi.android.temperature.CPUTemperatureManager(Context) |
This functionality is now in the
CPUManager class.
Use CPUManager instead:
CPUManager manager = new CPUManager(context); |