APISonar


de.blinkt.openvpn.core.Connection.ProxyType.HTTP

> de > blinkt > openvpn > core > Connection > ProxyType > HTTP
de APIs blinkt APIs openvpn APIs core APIs Connection APIs ProxyType APIs HTTP APIs

Example 1
private void setVisibilityProxyServer(ConnectionsHolder cH, Connection connection) {
        int visible = (connection.mProxyType == Connection.ProxyType.HTTP || connection.mProxyType == Connection.ProxyType.SOCKS5) ? View.VISIBLE : View.GONE;
        int authVisible = (connection.mProxyType == Connection.ProxyType.HTTP) ? View.VISIBLE : View.GONE;

        cH.mProxyNameView.setVisibility(visible);
        cH.mProxyPortNumberView.setVisibility(visible);
        cH.mProxyNameLabel.setVisibility(visible);

        cH.mProxyAuthLayout.setVisibility(authVisible);

    }