IkeSessionParams.Builder.SetLifetimeSeconds(Int32, 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 hard and soft lifetimes.
[Android.Runtime.Register("setLifetimeSeconds", "(II)Landroid/net/ipsec/ike/IkeSessionParams$Builder;", "", ApiSince=31)]
public Android.Net.IpSec.Ike.IkeSessionParams.Builder SetLifetimeSeconds(int hardLifetimeSeconds, int softLifetimeSeconds);
[<Android.Runtime.Register("setLifetimeSeconds", "(II)Landroid/net/ipsec/ike/IkeSessionParams$Builder;", "", ApiSince=31)>]
member this.SetLifetimeSeconds : int * int -> Android.Net.IpSec.Ike.IkeSessionParams.Builder
Parameters
- hardLifetimeSeconds
- Int32
- softLifetimeSeconds
- Int32
Returns
Builder this, to facilitate chaining. This value cannot be null.
- Attributes
Remarks
Sets hard and soft lifetimes.
Lifetimes will not be negotiated with the remote IKE server.
Android reference for android.net.ipsec.ike.IkeSessionParams.Builder.setLifetimeSeconds.
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.