Share via


DiscoverySessionCallback.OnServiceDiscovered Method

Definition

Overloads

OnServiceDiscovered(ServiceDiscoveryInfo)
OnServiceDiscovered(PeerHandle, Byte[], IList<Byte[]>)

OnServiceDiscovered(ServiceDiscoveryInfo)

[Android.Runtime.Register("onServiceDiscovered", "(Landroid/net/wifi/aware/ServiceDiscoveryInfo;)V", "GetOnServiceDiscovered_Landroid_net_wifi_aware_ServiceDiscoveryInfo_Handler", ApiSince=33)]
public virtual void OnServiceDiscovered (Android.Net.Wifi.Aware.ServiceDiscoveryInfo info);
[<Android.Runtime.Register("onServiceDiscovered", "(Landroid/net/wifi/aware/ServiceDiscoveryInfo;)V", "GetOnServiceDiscovered_Landroid_net_wifi_aware_ServiceDiscoveryInfo_Handler", ApiSince=33)>]
abstract member OnServiceDiscovered : Android.Net.Wifi.Aware.ServiceDiscoveryInfo -> unit
override this.OnServiceDiscovered : Android.Net.Wifi.Aware.ServiceDiscoveryInfo -> unit

Parameters

Attributes

Applies to

OnServiceDiscovered(PeerHandle, Byte[], IList<Byte[]>)

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

Parameters

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

Remarks

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