Język

SubscribeConfig.Builder.SetMaxDistanceMm(Int32) Method

Definition

Configure the maximum distance to a discovered publisher at which to trigger a discovery notification.

[Android.Runtime.Register("setMaxDistanceMm", "(I)Landroid/net/wifi/aware/SubscribeConfig$Builder;", "", ApiSince=28)]
public Android.Net.Wifi.Aware.SubscribeConfig.Builder? SetMaxDistanceMm(int maxDistanceMm);
[<Android.Runtime.Register("setMaxDistanceMm", "(I)Landroid/net/wifi/aware/SubscribeConfig$Builder;", "", ApiSince=28)>]
member this.SetMaxDistanceMm : int -> Android.Net.Wifi.Aware.SubscribeConfig.Builder

Parameters

maxDistanceMm
Int32

Maximum distance, in mm, to the publisher below which to trigger discovery.

Returns

The builder to facilitate chaining builder.setXXX(..).setXXX(..).

Attributes

Remarks

Android reference for android.net.wifi.aware.SubscribeConfig.Builder.setMaxDistanceMm.

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