Language

OobInitiatorRangingConfig.Builder.SetRangingMode(Int32) Method

Definition

Sets the ranging mode for the session.

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

Parameters

rangingMode
Int32

The ranging mode to set. Defaults to OobInitiatorRangingConfig.RANGING_MODE_AUTO Value is one of the following: OobInitiatorRangingConfig.RANGING_MODE_AUTO; OobInitiatorRangingConfig.RANGING_MODE_HIGH_ACCURACY; OobInitiatorRangingConfig.RANGING_MODE_HIGH_ACCURACY_PREFERRED; OobInitiatorRangingConfig.RANGING_MODE_FUSED

Returns

The Builder instance. This value cannot be null.

Attributes

Remarks

Sets the ranging mode for the session.

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

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