Language

OobInitiatorRangingConfig.Builder.SetSecurityLevel(Int32) Method

Definition

Sets the security level for the ranging session.

[Android.Runtime.Register("setSecurityLevel", "(I)Landroid/ranging/oob/OobInitiatorRangingConfig$Builder;", "", ApiSince=36)]
public Android.Ranging.Oob.OobInitiatorRangingConfig.Builder SetSecurityLevel(int securityLevel);
[<Android.Runtime.Register("setSecurityLevel", "(I)Landroid/ranging/oob/OobInitiatorRangingConfig$Builder;", "", ApiSince=36)>]
member this.SetSecurityLevel : int -> Android.Ranging.Oob.OobInitiatorRangingConfig.Builder

Parameters

securityLevel
Int32

The security level to set. Defaults to OobInitiatorRangingConfig.SECURITY_LEVEL_BASIC Value is one of the following: OobInitiatorRangingConfig.SECURITY_LEVEL_BASIC; OobInitiatorRangingConfig.SECURITY_LEVEL_SECURE

Returns

The Builder instance. This value cannot be null.

Attributes

Remarks

Sets the security level for the ranging session.

Android reference for android.ranging.oob.OobInitiatorRangingConfig.Builder.setSecurityLevel.

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