org.solovyev.android.network
Interface NetworkStateService
- All Known Implementing Classes:
- NetworkStateServiceImpl
public interface NetworkStateService
TAG
static final String TAG
- See Also:
- Constant Field Values
startListening
void startListening(@Nonnull
android.content.Context context)
- This method starts listening for network connectivity state changes.
- Parameters:
context - context
stopListening
void stopListening()
- This method stops this class from listening for network changes.
addListener
boolean addListener(@Nonnull
NetworkStateListener listener)
removeListener
boolean removeListener(@Nonnull
NetworkStateListener listener)
getNetworkData
@Nonnull
NetworkData getNetworkData()
Copyright © 2013. All Rights Reserved.