WifiP2pManager Class
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.
This class provides the API for managing Wi-Fi peer-to-peer connectivity.
[Android.Runtime.Register("android/net/wifi/p2p/WifiP2pManager", DoNotGenerateAcw=true)]
public class WifiP2pManager : Java.Lang.Object
[<Android.Runtime.Register("android/net/wifi/p2p/WifiP2pManager", DoNotGenerateAcw=true)>]
type WifiP2pManager = class
inherit Object
- Inheritance
- Attributes
Remarks
Android platform documentation
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.
Constructors
WifiP2pManager(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
Fields
ActionWifiP2pListenStateChanged | |
ActionWifiP2pRequestResponseChanged | |
Busy |
Obsolete.
Passed with M:Android.Net.Wifi.P2p.WifiP2Manager.IActionListener.OnFailure. |
ConnectionRequestAccept | |
ConnectionRequestDeferShowPinToService | |
ConnectionRequestDeferToService | |
ConnectionRequestReject | |
Error |
Obsolete.
Passed with M:Android.Net.Wifi.P2p.WifiP2Manager.IActionListener.OnFailure. |
ExtraDiscoveryState |
The lookup key for an int that indicates whether p2p discovery has started or stopped. |
ExtraListenState | |
ExtraNetworkInfo |
The lookup key for a NetworkInfo object associated with the p2p network. |
ExtraP2pDeviceList |
The lookup key for a WifiP2pDeviceList object representing the new peer list when WifiP2pPeersChangedAction broadcast is sent. |
ExtraRequestConfig | |
ExtraRequestResponse | |
ExtraWifiP2pDevice |
The lookup key for a WifiP2pDevice object Retrieve with GetParcelableExtra(String). |
ExtraWifiP2pGroup |
The lookup key for a WifiP2pGroup object associated with the p2p network. |
ExtraWifiP2pInfo |
The lookup key for a WifiP2pInfo object Retrieve with GetParcelableExtra(String). |
ExtraWifiState |
The lookup key for an int that indicates whether Wi-Fi p2p is enabled or disabled. |
NoServiceRequests |
Obsolete.
Passed with M:Android.Net.Wifi.P2p.WifiP2Manager.IActionListener.OnFailure. |
P2pUnsupported |
Obsolete.
Passed with M:Android.Net.Wifi.P2p.WifiP2Manager.IActionListener.OnFailure. |
WifiP2pConnectionChangedAction |
Broadcast intent action indicating that the state of Wi-Fi p2p connectivity has changed. |
WifiP2pDiscoveryChangedAction |
Broadcast intent action indicating that peer discovery has either started or stopped. |
WifiP2pDiscoveryStarted |
p2p discovery has started |
WifiP2pDiscoveryStopped |
p2p discovery has stopped |
WifiP2pListenStarted | |
WifiP2pListenStopped | |
WifiP2pPeersChangedAction |
Broadcast intent action indicating that the available peer list has changed. |
WifiP2pStateChangedAction |
Broadcast intent action to indicate whether Wi-Fi p2p is enabled or disabled. |
WifiP2pStateDisabled |
Obsolete.
Wi-Fi p2p is disabled. |
WifiP2pStateEnabled |
Obsolete.
Wi-Fi p2p is enabled. |
WifiP2pThisDeviceChangedAction |
Broadcast intent action indicating that this device details have changed. |
Properties
Class |
Returns the runtime class of this |
Handle |
The handle to the underlying Android instance. (Inherited from Object) |
IsChannelConstrainedDiscoverySupported | |
IsGroupClientRemovalSupported | |
IsGroupOwnerIPv6LinkLocalAddressProvided | |
IsSetVendorElementsSupported | |
JniIdentityHashCode | (Inherited from Object) |
JniPeerMembers | |
P2pMaxAllowedVendorElementsLengthBytes | |
PeerReference | (Inherited from Object) |
ThresholdClass |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
ThresholdType |
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Methods
Explicit Interface Implementations
IJavaPeerable.Disposed() | (Inherited from Object) |
IJavaPeerable.DisposeUnlessReferenced() | (Inherited from Object) |
IJavaPeerable.Finalized() | (Inherited from Object) |
IJavaPeerable.JniManagedPeerState | (Inherited from Object) |
IJavaPeerable.SetJniIdentityHashCode(Int32) | (Inherited from Object) |
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) | (Inherited from Object) |
IJavaPeerable.SetPeerReference(JniObjectReference) | (Inherited from Object) |
Extension Methods
JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
JavaCast<TResult>(IJavaObject) | |
GetJniTypeName(IJavaPeerable) |