Udostępnij za pośrednictwem


VpnService.Builder.AddSearchDomain(String) Method

Definition

Add a search domain to the DNS resolver.

[Android.Runtime.Register("addSearchDomain", "(Ljava/lang/String;)Landroid/net/VpnService$Builder;", "GetAddSearchDomain_Ljava_lang_String_Handler")]
public virtual Android.Net.VpnService.Builder AddSearchDomain (string domain);
[<Android.Runtime.Register("addSearchDomain", "(Ljava/lang/String;)Landroid/net/VpnService$Builder;", "GetAddSearchDomain_Ljava_lang_String_Handler")>]
abstract member AddSearchDomain : string -> Android.Net.VpnService.Builder
override this.AddSearchDomain : string -> Android.Net.VpnService.Builder

Parameters

domain
String

Returns

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.

Applies to