Język

PasnConfig.Builder.SetPasnComebackCookie(Byte[]) Method

Definition

Set PASN comeback cookie.

[Android.Runtime.Register("setPasnComebackCookie", "([B)Landroid/net/wifi/rtt/PasnConfig$Builder;", "", ApiSince=36)]
public Android.Net.Wifi.Rtt.PasnConfig.Builder SetPasnComebackCookie(byte[] pasnComebackCookie);
[<Android.Runtime.Register("setPasnComebackCookie", "([B)Landroid/net/wifi/rtt/PasnConfig$Builder;", "", ApiSince=36)>]
member this.SetPasnComebackCookie : byte[] -> Android.Net.Wifi.Rtt.PasnConfig.Builder

Parameters

pasnComebackCookie
Byte[]

an opaque sequence of octets. This value cannot be null.

Returns

a reference to this Builder. This value cannot be null.

Attributes

Remarks

Set PASN comeback cookie. PASN authentication allows the station to provide comeback cookie which was indicated in the RangingResult by the AP with a deferral time.

When an AP receives a large volume of initial PASN Authentication frames, it can use the comeback after field in the PASN Parameters element to indicate a deferral time and optionally provide a comeback cookie which is an opaque sequence of octets. Upon receiving this response, the ranging initiator (STA) must wait for the specified time before retrying secure authentication, presenting the received cookie to the AP. See RangingResult.getPasnComebackCookie() and RangingResult.getPasnComebackAfterMillis().

Android reference for android.net.wifi.rtt.PasnConfig.Builder.setPasnComebackCookie.

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