Language

IkeSessionParams.Builder.SetRetransmissionTimeoutsMillis(Int32[]) Method

Definition

Sets the retransmission timeout list in milliseconds.

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

Parameters

retransTimeoutMillisList
Int32[]

the array of relative retransmission timeout in milliseconds. This value cannot be null.

Returns

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

Attributes

Remarks

Sets the retransmission timeout list in milliseconds.

Configures the retransmission by providing an array of relative retransmission timeouts in milliseconds. After sending out a request and before receiving the response, the IKE Session will iterate through the array and wait for the relative timeout before the next retry. If the last timeout is exceeded, the IKE Session will be terminated.

Each element in the array MUST be a value from 500 ms to 1800000 ms (30 minutes). The array must contain 1 through 10 elements. This retransmission timeout list defaults to {0.5s, 1s, 2s, 4s, 8s}

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

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