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 ww . ja v a2 s.com import android.content.Context; /** * DeviceConnection states to be used for your plugin project. Only the first state (here: STATE_OK) * means "reachable" per default implementation . */ public interface DeviceConnectionStateInterface { public void setStateStringResources(int... els); public String getTranslation(Context context, int state_index); public boolean isReachableState(int state_index); }