- networkType
- the type of the network over which traffic to the specified host is to be routed
- hostAddress
- the IP address of the host to which the route is desired
Documentation for this section has not yet been entered.
Ensure that a network route exists to deliver traffic to the specified host via the specified network interface. An attempt to add a route that already exists is ignored, but treated as successful.
This method requires the caller to hold the permission NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#CHANGE_NETWORK_STATE.