Language

DataNotificationConfig.Builder.SetProximityFarCm(Int32) Method

Definition

Sets the far proximity threshold in centimeters.

[Android.Runtime.Register("setProximityFarCm", "(I)Landroid/ranging/DataNotificationConfig$Builder;", "", ApiSince=36)]
public Android.Ranging.DataNotificationConfig.Builder SetProximityFarCm(int proximityCm);
[<Android.Runtime.Register("setProximityFarCm", "(I)Landroid/ranging/DataNotificationConfig$Builder;", "", ApiSince=36)>]
member this.SetProximityFarCm : int -> Android.Ranging.DataNotificationConfig.Builder

Parameters

proximityCm
Int32

The far proximity to set, in centimeters. Value is between 0 and 20000 inclusive

Returns

this Builder instance. This value cannot be null.

Attributes

Remarks

Sets the far proximity threshold in centimeters.

defaults to 20000 cm.

Android reference for android.ranging.DataNotificationConfig.Builder.setProximityFarCm.

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