Share via


RangingRequest.SecurityModeOpportunistic Field

Definition

Caution

This constant will be removed in the future version. Use Android.Net.Wifi.Rtt.RangingRequestSecurityMode enum directly instead of this field.

In this mode, secure ranging is enabled automatically for compatible responders, simplifying the user experience and requiring no configuration.

[Android.Runtime.Register("SECURITY_MODE_OPPORTUNISTIC", ApiSince=36)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.Wifi.Rtt.RangingRequestSecurityMode enum directly instead of this field.", true)]
public const Android.Net.Wifi.Rtt.RangingRequestSecurityMode SecurityModeOpportunistic = 1;
[<Android.Runtime.Register("SECURITY_MODE_OPPORTUNISTIC", ApiSince=36)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.Wifi.Rtt.RangingRequestSecurityMode enum directly instead of this field.", true)>]
val mutable SecurityModeOpportunistic : Android.Net.Wifi.Rtt.RangingRequestSecurityMode

Field Value

Value = 1

Implements

Attributes

Remarks

In this mode, secure ranging is enabled automatically for compatible responders, simplifying the user experience and requiring no configuration. If the secure ranging is not possible for any of the responders, open mode ranging is used instead as in #SECURITY_MODE_OPEN. This mode is backward compatible with existing applications.

Note: This is the default mode

Java documentation for android.net.wifi.rtt.RangingRequest.SECURITY_MODE_OPPORTUNISTIC.

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