DiscoverySessionCallback.OnServiceDiscoveredWithinRange 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.
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
- info
- ServiceDiscoveryInfo
- 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[]
- distanceMm
- Int32
- Attributes