Share via


RouteInfo.Gateway Property

Definition

Retrieves the gateway or next hop InetAddress for this route.

public Java.Net.InetAddress? Gateway { [Android.Runtime.Register("getGateway", "()Ljava/net/InetAddress;", "")] get; }
[<get: Android.Runtime.Register("getGateway", "()Ljava/net/InetAddress;", "")>]
member this.Gateway : Java.Net.InetAddress

Property Value

InetAddress specifying the gateway or next hop. This may be null for a directly-connected route."

Attributes

Remarks

Retrieves the gateway or next hop InetAddress for this route.

Java documentation for android.net.RouteInfo.getGateway().

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.

Applies to