Language

Uri.Host Property

Definition

Gets the encoded host from the authority for this URI.

public abstract string? Host { [Android.Runtime.Register("getHost", "()Ljava/lang/String;", "GetGetHostHandler")] get; }
[<get: Android.Runtime.Register("getHost", "()Ljava/lang/String;", "GetGetHostHandler")>]
member this.Host : string

Property Value

the host for this URI or null if not present

Attributes

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.

Java documentation for android.net.Uri.getHost().

Applies to