All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ocap.hardware.PowerModeChangeListener Maven / Gradle / Ivy

package org.ocap.hardware;

import java.util.EventListener;

/**
 * The callback interface to be implemented by classes that wish to receive
 * notification when the power mode of the Host Devices changes (for example
 * when the user presses the Power button).
 */
public interface PowerModeChangeListener extends EventListener
{
    
    
   /**
    * Called when the power mode changes (for example from full to low power). 
    *
    *@see Host#FULL_POWER
    *@see Host#LOW_POWER
    */
    void powerModeChanged(int newPowerMode);
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy