Share via


AssistStructure.ViewNode.WebDomain Property

Definition

Returns the domain of the HTML document represented by this view.

public virtual string WebDomain { [Android.Runtime.Register("getWebDomain", "()Ljava/lang/String;", "GetGetWebDomainHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getWebDomain", "()Ljava/lang/String;", "GetGetWebDomainHandler", ApiSince=26)>]
member this.WebDomain : string

Property Value

domain-only part of the document. For example, if the full URL is https://example.com/login?user=my_user, it returns example.com.

Attributes

Remarks

Returns the domain of the HTML document represented by this view.

Typically used when the view associated with the view is a container for an HTML document.

<b>Warning:</b> an autofill service cannot trust the value reported by this method without verifing its authenticity&mdash;see the "Web security" section of android.service.autofill.AutofillService for more details.

Java documentation for android.app.assist.AssistStructure.ViewNode.getWebDomain().

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