Taal

IkeSessionParams.Builder.AddIkeOption(Int32) Method

Definition

Sets the specified IKE Option as enabled.

[Android.Runtime.Register("addIkeOption", "(I)Landroid/net/ipsec/ike/IkeSessionParams$Builder;", "", ApiSince=31)]
public Android.Net.IpSec.Ike.IkeSessionParams.Builder AddIkeOption(int ikeOption);
[<Android.Runtime.Register("addIkeOption", "(I)Landroid/net/ipsec/ike/IkeSessionParams$Builder;", "", ApiSince=31)>]
member this.AddIkeOption : int -> Android.Net.IpSec.Ike.IkeSessionParams.Builder

Parameters

ikeOption
Int32

The option to enable, specified as an IkeSessionOption value converted to Int32.

Returns

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

Attributes

Exceptions

The option is invalid.

Remarks

Sets the specified IKE Option as enabled.

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

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