次の方法で共有


WifiP2pManager.IServiceResponseListener.OnServiceAvailable Method

Definition

[Android.Runtime.Register("onServiceAvailable", "(I[BLandroid/net/wifi/p2p/WifiP2pDevice;)V", "GetOnServiceAvailable_IarrayBLandroid_net_wifi_p2p_WifiP2pDevice_Handler:Android.Net.Wifi.P2p.WifiP2pManager/IServiceResponseListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnServiceAvailable (Android.Net.Wifi.P2p.Nsd.ServiceType protocolType, byte[]? responseData, Android.Net.Wifi.P2p.WifiP2pDevice? srcDevice);
[<Android.Runtime.Register("onServiceAvailable", "(I[BLandroid/net/wifi/p2p/WifiP2pDevice;)V", "GetOnServiceAvailable_IarrayBLandroid_net_wifi_p2p_WifiP2pDevice_Handler:Android.Net.Wifi.P2p.WifiP2pManager/IServiceResponseListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnServiceAvailable : Android.Net.Wifi.P2p.Nsd.ServiceType * byte[] * Android.Net.Wifi.P2p.WifiP2pDevice -> unit

Parameters

protocolType
ServiceType
responseData
Byte[]
srcDevice
WifiP2pDevice
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