IkeSessionParams.Builder.AddIkeOption(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 be enabled. Value is one of the following: IkeSessionParams.IKE_OPTION_ACCEPT_ANY_REMOTE_ID; IkeSessionParams.IKE_OPTION_EAP_ONLY_AUTH; IkeSessionParams.IKE_OPTION_MOBIKE; IkeSessionParams.IKE_OPTION_FORCE_PORT_4500; IkeSessionParams.IKE_OPTION_INITIAL_CONTACT
Returns
Builder this, to facilitate chaining. This value cannot be null.
- Attributes
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.