Język

IkeSessionConfiguration.Builder.AddIkeExtension(Int32) Method

Definition

Marks an IKE extension as enabled for the IkeSessionConfiguration being built.

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

Parameters

extensionType
Int32

The enabled extension: Fragmentation or Mobike, converted to Int32.

Returns

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

Attributes

Exceptions

The extension identifier is invalid.

Remarks

Marks an IKE extension as enabled for the IkeSessionConfiguration being built.

Android reference for android.net.ipsec.ike.IkeSessionConfiguration.Builder.addIkeExtension.

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