IP2pStateListener
OnP2pStateAvailable(WifiP2pState)
net9.0-android34.0
namespace Android.Net.Wifi.P2p
{
[Register("android/net/wifi/p2p/WifiP2pManager", DoNotGenerateAcw = true)]
public class WifiP2pManager : Object
{
[Register("android/net/wifi/p2p/WifiP2pManager$P2pStateListener", "", "Android.Net.Wifi.P2p.WifiP2pManager/IP2pStateListenerInvoker", ApiSince = 29)]
public interface IP2pStateListener : IJavaObject, IJavaPeerable, IDisposable
{
[Register("onP2pStateAvailable", "(I)V", "GetOnP2pStateAvailable_IHandler:Android.Net.Wifi.P2p.WifiP2pManager/IP2pStateListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince = 29)]
[SupportedOSPlatform("android29.0")]
void OnP2pStateAvailable([GeneratedEnum] WifiP2pState state);
}
}
}
| .NET | 6.07.08.09.0 |
|---|---|
Information specific to net9.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Information specific to net9.0-android34.0 | |
| Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
| Referencing | The API is automatically referenced. |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API