BleCsRangingParams.Builder.SetSecurityLevel(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the security level for the ranging session.
[Android.Runtime.Register("setSecurityLevel", "(I)Landroid/ranging/ble/cs/BleCsRangingParams$Builder;", "", ApiSince=36)]
public Android.Ranging.Ble.CS.BleCsRangingParams.Builder SetSecurityLevel(int securityLevel);
[<Android.Runtime.Register("setSecurityLevel", "(I)Landroid/ranging/ble/cs/BleCsRangingParams$Builder;", "", ApiSince=36)>]
member this.SetSecurityLevel : int -> Android.Ranging.Ble.CS.BleCsRangingParams.Builder
Parameters
- securityLevel
- Int32
the security level.
Returns
this Builder instance. This value cannot be null.
- Attributes
Remarks
Sets the security level for the ranging session.
Defaults to BleCsRangingCapabilities.CS_SECURITY_LEVEL_ONE
Android reference for android.ranging.ble.cs.BleCsRangingParams.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.