| com.ardic.android.managers.networkconfig.INetworkConfigManager | 
Provides set of API for network related configuration adjustment.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Adds new dns to the blacklist. | |||||||||||
| Clears the dns blacklist. | |||||||||||
| Connects to VPN server according to the VPN Profile with the given VPN profile name. | |||||||||||
| This method disconnects VPN connection of the device. | |||||||||||
| Returns list of all configured VPN Profiles on a device. | |||||||||||
| Returns all dns blacklist. | |||||||||||
| 
      This method was deprecated
      in API level 5.
    in Android Lollipop
 | |||||||||||
| Returns configured global proxy infos. | |||||||||||
| Returns Hotspot Configuration | |||||||||||
| Gets VPN Profile Configuration of the given VPN Profile name. | |||||||||||
| Compares the given WifiConfiguration to hotspot configuration | |||||||||||
| Returns whether Bluetooth Tethering is blocked or not. | |||||||||||
| Queries if the specified dns is exist in dns blacklist or not. | |||||||||||
| Returns whether Hotspot configuration changing is blocked or not. | |||||||||||
| Returns whether Wi-Fi hotspot is ON or not. | |||||||||||
| Returns whether the device supports WiFi hotspot or not. | |||||||||||
| Return whether Tethering is blocked or unblocked. | |||||||||||
| Returns whether USB Tethering is blocked or not. | |||||||||||
| Returns whether VPN connections are blocked or not. | |||||||||||
| Checks whether VPN connection is established or not. | |||||||||||
| Returns whether Wi-Fi Tethering is blocked or not | |||||||||||
| Removes the dns from blacklist. | |||||||||||
| Deletes a previously configured VPN Profile on the device. | |||||||||||
| Saves a given VPN Profile configuration. | |||||||||||
| Sets/Resets block for Bluetooth Tethering. | |||||||||||
| 
      This method was deprecated
      in API level 5.
    in Android Lollipop
 | |||||||||||
| Sets global proxy's host, port and pac configurations. | |||||||||||
| Sets Hotspot configuration | |||||||||||
| Sets/Resets hotspot configuration change blocking. | |||||||||||
| Turns ON/OFF Wi-Fi hotspot with given Wifi Configuration of the device. | |||||||||||
| Sets Tethering availability to blocked. | |||||||||||
| Sets/Resets block for USB Tethering. | |||||||||||
| Sets/Resets VPN blocking. | |||||||||||
| Sets/Resets Wi-Fi Tethering blocking. | |||||||||||
Adds new dns to the blacklist.
| Parameters | |
|---|---|
| dns | String:
          Definition of the dns | 
| Returns | |
|---|---|
| boolean | trueif the operation succeeds elsefalse. | 
| Throws | |
|---|---|
| AfexException | |
Clears the dns blacklist.
| Returns | |
|---|---|
| boolean | trueif the operation succeeds elsefalse. | 
| Throws | |
|---|---|
| AfexException | |
Connects to VPN server according to the VPN Profile with the given VPN profile name.
| Parameters | |
|---|---|
| name | String:
          VPN Profile name | 
| Throws | |
|---|---|
| AfexException | |
This method disconnects VPN connection of the device.
| Returns | |
|---|---|
| boolean | trueif the operation succeeds elsefalse. | 
| Throws | |
|---|---|
| AfexException | |
Returns list of all configured VPN Profiles on a device.
| Returns | |
|---|---|
| List<VpnProfileConfig> | list of VpnProfileConfig objects for VPN Profile configurations or Empty list if there is no configured VPN Profiles. | 
| Throws | |
|---|---|
| AfexException | |
      This method was deprecated
      in API level 5.
    in Android Lollipop
  
Returns configured global proxy infos.
| Returns | |
|---|---|
| ProxyProperties | ProxyProperties Returns ProxyPropertiesobject if set, elsenull | 
| Throws | |
|---|---|
|  | AfexException | 
| AfexException | |
Returns configured global proxy infos. In Android Lollipop; After API level 21, This API
 throws ERROR(/AfexExceptionType.NA)
| Returns | |
|---|---|
| ProxyInfo | ProxyInfo Returns ProxyInfoobject if set, elsenull | 
| Throws | |
|---|---|
| AfexException | |
Returns Hotspot Configuration
| Returns | |
|---|---|
| WifiConfigBasic | WifiConfigBasic for the hotspot | 
| Throws | |
|---|---|
| AfexException | |
Gets VPN Profile Configuration of the given VPN Profile name.
| Parameters | |
|---|---|
| name | String:
          VPN Profile name | 
| Returns | |
|---|---|
| VpnProfileConfig | VPN Profile Configuration or nullif there is no profile with the given name. | 
| Throws | |
|---|---|
| AfexException | |
Compares the given WifiConfiguration to hotspot configuration
| Parameters | |
|---|---|
| wc | WifiConfiguration:
          WifiConfiguration to be compared | 
| Returns | |
|---|---|
| boolean | trueif the configuration is equalfalseotherwise | 
| Throws | |
|---|---|
| AfexException | |
Returns whether Bluetooth Tethering is blocked or not.
| Returns | |
|---|---|
| boolean | trueif Bluetooth Tethering is blocked elsefalse. | 
| Throws | |
|---|---|
| AfexException | |
Queries if the specified dns is exist in dns blacklist or not.
| Parameters | |
|---|---|
| dns | String:
          Defition of the dns | 
| Returns | |
|---|---|
| boolean | trueif the specified dns exists elsefalse. | 
| Throws | |
|---|---|
| AfexException | |
Returns whether Hotspot configuration changing is blocked or not. If hotspot configuration change is blocked user can not change SSID, Security Type and password defined for the mobile device.
| Returns | |
|---|---|
| boolean | trueif Hotspot configuration change is blocked elsefalse. | 
| Throws | |
|---|---|
| AfexException | |
See also:
Returns whether Wi-Fi hotspot is ON or not.
| Returns | |
|---|---|
| boolean | trueif Wi-Fi hotspot is ON elsefalse | 
| Throws | |
|---|---|
| AfexException | |
Returns whether the device supports WiFi hotspot or not.
| Returns | |
|---|---|
| boolean | trueif Wi-Fi hotspot is supported on the device elsefalse | 
| Throws | |
|---|---|
| AfexException | |
Return whether Tethering is blocked or unblocked.
| Returns | |
|---|---|
| boolean | trueif Tethering is blocked,falseotherwise | 
| Throws | |
|---|---|
| AfexException | |
See also:
Returns whether USB Tethering is blocked or not.
| Returns | |
|---|---|
| boolean | trueif USB Tethering is blocked elsefalse. | 
| Throws | |
|---|---|
| AfexException | |
Returns whether VPN connections are blocked or not.
| Returns | |
|---|---|
| boolean | trueif VPN access is blocked elsefalse. | 
| Throws | |
|---|---|
| AfexException | |
See also:
Checks whether VPN connection is established or not.
| Returns | |
|---|---|
| boolean | trueif VPN connection is established elsefalse. | 
| Throws | |
|---|---|
| AfexException | |
Returns whether Wi-Fi Tethering is blocked or not
| Returns | |
|---|---|
| boolean | trueif Wi-Fi Tethering is blocked elsefalse. | 
| Throws | |
|---|---|
| AfexException | |
See also:
Removes the dns from blacklist.
| Parameters | |
|---|---|
| dns | String:
          Definition of the dns | 
| Returns | |
|---|---|
| boolean | trueif the operation succeeds elsefalse. | 
| Throws | |
|---|---|
| AfexException | |
Deletes a previously configured VPN Profile on the device.
| Parameters | |
|---|---|
| name | String:
          VPN Profile name | 
| Returns | |
|---|---|
| boolean | trueif the operation succeeds elsefalse. | 
| Throws | |
|---|---|
| AfexException | |
Saves a given VPN Profile configuration. Since VPN configurations are stored in Android Keystore, Keystore state have to be UNLOCKED.
| Parameters | |
|---|---|
| conf | VpnProfileConfig:
          VpnProfileConfig VPN Profile configuration | 
| Returns | |
|---|---|
| boolean | trueif the operation succeeds elsefalse. | 
| Throws | |
|---|---|
| AfexException | |
Sets/Resets block for Bluetooth Tethering. If Bluetooth Tethering blocked mobile device can not be used by paired device for Internet connection. If all tethering is blocked, unblocking Bluetooth Tethering fails.
| Parameters | |
|---|---|
| state | boolean:trueto block Bluetooth Tethering,falseotherwise | 
| Returns | |
|---|---|
| boolean | trueif the operation succeeds elsefalse. | 
| Throws | |
|---|---|
| AfexException | |
      This method was deprecated
      in API level 5.
    in Android Lollipop
  
Sets global proxy's host, port and pac configurations.
| Parameters | |
|---|---|
| pp | ProxyProperties:
          ProxyProperties PassProxyPropertiesobject to set,nullto reset | 
| Throws | |
|---|---|
| AfexException | |
Sets global proxy's host, port and pac configurations. In Android Lollipop; After API level
 21, This API throws ERROR(/AfexExceptionType.NA)
| Parameters | |
|---|---|
| pi | ProxyInfo | 
| Throws | |
|---|---|
| AfexException | |
Sets Hotspot configuration
| Parameters | |
|---|---|
| wc | WifiConfigBasic:
          Hotspot Configuration | 
| Returns | |
|---|---|
| boolean | trueif the operation succeeds elsefalse. | 
| Throws | |
|---|---|
| AfexException | |
Sets/Resets hotspot configuration change blocking. If hotspot configuration change is blocked user can not change SSID, Security Type and password defined for the mobile device.
| Parameters | |
|---|---|
| state | boolean:trueto blockfalseto unblock. | 
| Returns | |
|---|---|
| boolean | trueif the operation succeeds elsefalse. | 
| Throws | |
|---|---|
| AfexException | |
See also:
Turns ON/OFF Wi-Fi hotspot with given Wifi Configuration of the device.
| Parameters | |
|---|---|
| wc | WifiConfiguration | 
| state | boolean | 
| Returns | |
|---|---|
| boolean | trueif the operation succeeds elsefalse | 
| Throws | |
|---|---|
| AfexException | |
Sets Tethering availability to blocked.
In Blocking case; Tethering is turned OFF and it is blocked.
The Tethering can not be turned ON until it is unblocked.
In Unblocking case; Tethering is unblocked and it is turned ON
| Parameters | |
|---|---|
| state | boolean:trueto block Tethering,falseto unblock. | 
| Returns | |
|---|---|
| boolean | trueif the operation succeeds (or if the existing state is the same as the
         requested state) elsefalse | 
| Throws | |
|---|---|
| AfexException | |
See also:
Sets/Resets block for USB Tethering. If USB Tethering blocked mobile device can not be used by host device for Internet connection. If all tethering is blocked, unblocking USB Tethering fails.
| Parameters | |
|---|---|
| state | boolean:trueto block USB Tethering,falseotherwise | 
| Returns | |
|---|---|
| boolean | trueif the operation succeeds elsefalse. | 
| Throws | |
|---|---|
| AfexException | |
Sets/Resets VPN blocking. If VPN is blocked device can not connect to any VPN.
| Parameters | |
|---|---|
| state | boolean:trueto block VPN,falseotherwise | 
| Returns | |
|---|---|
| boolean | trueif the operation succeeds elsefalse. | 
| Throws | |
|---|---|
| AfexException | |
See also:
Sets/Resets Wi-Fi Tethering blocking. If Wi-Fi Tethering is blocked mobile device can not be used as Wi-Fi AP by other devices. If all tethering is blocked, unblocking Wi-Fi Tethering fails.
| Parameters | |
|---|---|
| state | boolean:trueto block Wifi Tethering,falseotherwise | 
| Returns | |
|---|---|
| boolean | trueif the operation succeeds elsefalse. | 
| Throws | |
|---|---|
| AfexException | |
See also: