ConnectivityManager.RequestRouteToHostAsync(ConnectivityType, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Runs the legacy host-route request on a thread-pool thread.
public System.Threading.Tasks.Task<bool> RequestRouteToHostAsync(Android.Net.ConnectivityType networkType, int hostAddress);
member this.RequestRouteToHostAsync : Android.Net.ConnectivityType * int -> System.Threading.Tasks.Task<bool>
Parameters
- networkType
- ConnectivityType
The legacy network type to pass to RequestRouteToHost.
- hostAddress
- Int32
The integer IPv4 destination to pass to RequestRouteToHost.
Returns
A task with the Boolean result of RequestRouteToHost. Exceptions from the legacy routing API fault the task.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.