Package com.googlecode.gwtphonegap.client.event

Examples of com.googlecode.gwtphonegap.client.event.BatteryStatusHandler


      public void onBatteryLow(com.googlecode.gwtphonegap.client.event.BatteryLowEvent event) {
        batteryLowEventSource.fire(new BatteryLowEvent(event.getLevel(), event.isPlugged()));
      }
    });

    event.getBatteryStatusHandler().addBatteryStatusHandler(new BatteryStatusHandler() {
      @Override
      public void onBatteryStatus(com.googlecode.gwtphonegap.client.event.BatteryStatusEvent event) {
        batteryStatusEventSource.fire(new BatteryStatusEvent(event.getLevel(), event.isPlugged()));
      }
    });
View Full Code Here

TOP

Related Classes of com.googlecode.gwtphonegap.client.event.BatteryStatusHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.