语言

DataNotificationConfig.NotificationConfigProximityLevel 字段

定义

注意

This constant will be removed in the future version. Use Android.Ranging.DataNotificationConfigType enum directly instead of this field.

指定对等方处于配置的邻近间隔内时的通知。

[Android.Runtime.Register("NOTIFICATION_CONFIG_PROXIMITY_LEVEL", ApiSince=36)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Ranging.DataNotificationConfigType enum directly instead of this field.", true)]
public const Android.Ranging.DataNotificationConfigType NotificationConfigProximityLevel = 2;
[<Android.Runtime.Register("NOTIFICATION_CONFIG_PROXIMITY_LEVEL", ApiSince=36)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Ranging.DataNotificationConfigType enum directly instead of this field.", true)>]
val mutable NotificationConfigProximityLevel : Android.Ranging.DataNotificationConfigType

字段值

Value = 2

实现

特性

注解

间隔包括近阈值和远阈值。 若要选择此模式,请强制转换为ProximityLevelint并传递给它SetNotificationConfigType(Int32)。

适用于