List of usage examples for android.net.wifi SupplicantState toString
public String toString()
From source file:com.github.pwittchen.reactivewifi.app.MainActivity.java
private void startSupplicantSubscription() { supplicantSubscription = ReactiveWifi.observeSupplicantState(getApplicationContext()) .subscribeOn(Schedulers.io()).observeOn(AndroidSchedulers.mainThread()) .subscribe(new Action1<SupplicantState>() { @Override//from www . j a va 2s . c om public void call(SupplicantState supplicantState) { Log.d("ReactiveWifi", "New supplicant state: " + supplicantState.toString()); } }); }