Language

IkeSessionParams.Builder.SetServerHostname(String) Method

Definition

Sets the server hostname for the IkeSessionParams being built.

[Android.Runtime.Register("setServerHostname", "(Ljava/lang/String;)Landroid/net/ipsec/ike/IkeSessionParams$Builder;", "", ApiSince=31)]
public Android.Net.IpSec.Ike.IkeSessionParams.Builder SetServerHostname(string serverHostname);
[<Android.Runtime.Register("setServerHostname", "(Ljava/lang/String;)Landroid/net/ipsec/ike/IkeSessionParams$Builder;", "", ApiSince=31)>]
member this.SetServerHostname : string -> Android.Net.IpSec.Ike.IkeSessionParams.Builder

Parameters

serverHostname
String

the hostname of the IKE server, such as "ike.android.com". This value cannot be null.

Returns

Builder this, to facilitate chaining. This value cannot be null.

Attributes

Remarks

Sets the server hostname for the IkeSessionParams being built.

Android reference for android.net.ipsec.ike.IkeSessionParams.Builder.setServerHostname.

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