DataNotificationConfig.Builder.SetProximityFarCm(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 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.