Back to project page Android-NetPowerctrl-Shared.
The source code is released under:
Copyright (c) 2014, David Gr?ff All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: *...
If you think the Android project Android-NetPowerctrl-Shared listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package oly.netpowerctrl.plugin; //from w w w . j av a 2 s . co m import oly.netpowerctrl.device_base.device.Device; /** * This interface is implemented by the connectionService to be notified of device state * changes. The new state will be propagated to the main app immediately. * Use this interface in your objects to notify about the new state of a device connection. * A state can be one of the defined states of DeviceConnectionStates. */ public interface onDeviceStateChange { void setNewState(Device device, int device_connection_id, int state); }