Język

RangingResult.Builder.SetRangingAuthenticated(Boolean) Method

Definition

Set whether mutual authentication is done for the ranging.

[Android.Runtime.Register("setRangingAuthenticated", "(Z)Landroid/net/wifi/rtt/RangingResult$Builder;", "", ApiSince=36)]
public Android.Net.Wifi.Rtt.RangingResult.Builder SetRangingAuthenticated(bool isRangingAuthenticated);
[<Android.Runtime.Register("setRangingAuthenticated", "(Z)Landroid/net/wifi/rtt/RangingResult$Builder;", "", ApiSince=36)>]
member this.SetRangingAuthenticated : bool -> Android.Net.Wifi.Rtt.RangingResult.Builder

Parameters

isRangingAuthenticated
Boolean

true if ranging is mutually authenticated, otherwise false.

Returns

The builder to facilitate chaining. This value cannot be null.

Attributes

Remarks

Set whether mutual authentication is done for the ranging. Authentication of ranging enables frame protection also. See setRangingFrameProtected(boolean).

Android reference for android.net.wifi.rtt.RangingResult.Builder.setRangingAuthenticated.

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