com.path.android.jobqueue.network
Interface NetworkEventProvider

All Known Implementing Classes:
NetworkUtilImpl

public interface NetworkEventProvider

An interface that NetworkUtil can implement if it supports a callback method when network state is changed This is not mandatory but highly suggested so that JobManager can avoid busy loops when there is a job waiting for network and there is no network available


Nested Class Summary
static interface NetworkEventProvider.Listener
           
 
Method Summary
 void setListener(NetworkEventProvider.Listener listener)
           
 

Method Detail

setListener

void setListener(NetworkEventProvider.Listener listener)