Compartilhar via


DiscoverySessionCallback.OnServiceDiscoveredWithinRange Method

Definition

Overloads

OnServiceDiscoveredWithinRange(ServiceDiscoveryInfo, Int32)
OnServiceDiscoveredWithinRange(PeerHandle, Byte[], IList<Byte[]>, Int32)

OnServiceDiscoveredWithinRange(ServiceDiscoveryInfo, Int32)

[Android.Runtime.Register("onServiceDiscoveredWithinRange", "(Landroid/net/wifi/aware/ServiceDiscoveryInfo;I)V", "GetOnServiceDiscoveredWithinRange_Landroid_net_wifi_aware_ServiceDiscoveryInfo_IHandler", ApiSince=33)]
public virtual void OnServiceDiscoveredWithinRange (Android.Net.Wifi.Aware.ServiceDiscoveryInfo info, int distanceMm);
[<Android.Runtime.Register("onServiceDiscoveredWithinRange", "(Landroid/net/wifi/aware/ServiceDiscoveryInfo;I)V", "GetOnServiceDiscoveredWithinRange_Landroid_net_wifi_aware_ServiceDiscoveryInfo_IHandler", ApiSince=33)>]
abstract member OnServiceDiscoveredWithinRange : Android.Net.Wifi.Aware.ServiceDiscoveryInfo * int -> unit
override this.OnServiceDiscoveredWithinRange : Android.Net.Wifi.Aware.ServiceDiscoveryInfo * int -> unit

Parameters

distanceMm
Int32
Attributes

Applies to

OnServiceDiscoveredWithinRange(PeerHandle, Byte[], IList<Byte[]>, Int32)

[Android.Runtime.Register("onServiceDiscoveredWithinRange", "(Landroid/net/wifi/aware/PeerHandle;[BLjava/util/List;I)V", "GetOnServiceDiscoveredWithinRange_Landroid_net_wifi_aware_PeerHandle_arrayBLjava_util_List_IHandler", ApiSince=28)]
public virtual void OnServiceDiscoveredWithinRange (Android.Net.Wifi.Aware.PeerHandle? peerHandle, byte[]? serviceSpecificInfo, System.Collections.Generic.IList<byte[]>? matchFilter, int distanceMm);
[<Android.Runtime.Register("onServiceDiscoveredWithinRange", "(Landroid/net/wifi/aware/PeerHandle;[BLjava/util/List;I)V", "GetOnServiceDiscoveredWithinRange_Landroid_net_wifi_aware_PeerHandle_arrayBLjava_util_List_IHandler", ApiSince=28)>]
abstract member OnServiceDiscoveredWithinRange : Android.Net.Wifi.Aware.PeerHandle * byte[] * System.Collections.Generic.IList<byte[]> * int -> unit
override this.OnServiceDiscoveredWithinRange : Android.Net.Wifi.Aware.PeerHandle * byte[] * System.Collections.Generic.IList<byte[]> * int -> unit

Parameters

peerHandle
PeerHandle
serviceSpecificInfo
Byte[]
matchFilter
IList<Byte[]>
distanceMm
Int32
Attributes

Applies to