Language

BleCsRangingParams.Builder.SetLocationType(Int32) Method

Definition

Sets the location type for the ranging session.

[Android.Runtime.Register("setLocationType", "(I)Landroid/ranging/ble/cs/BleCsRangingParams$Builder;", "", ApiSince=36)]
public Android.Ranging.Ble.CS.BleCsRangingParams.Builder SetLocationType(int locationType);
[<Android.Runtime.Register("setLocationType", "(I)Landroid/ranging/ble/cs/BleCsRangingParams$Builder;", "", ApiSince=36)>]
member this.SetLocationType : int -> Android.Ranging.Ble.CS.BleCsRangingParams.Builder

Parameters

locationType
Int32

the location type. Value is one of the following: BleCsRangingParams.LOCATION_TYPE_UNKNOWN; BleCsRangingParams.LOCATION_TYPE_INDOOR; BleCsRangingParams.LOCATION_TYPE_OUTDOOR

Returns

this Builder instance. This value cannot be null.

Attributes

Remarks

Sets the location type for the ranging session.

Defaults to BleCsRangingParams.LOCATION_TYPE_UNKNOWN

Android reference for android.ranging.ble.cs.BleCsRangingParams.Builder.setLocationType.

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