Android.Net.Wifi.P2p.WifiP2pManager Members

The members of Android.Net.Wifi.P2p.WifiP2pManager are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
BusyWifiP2pFailureReason (2). Passed with NoType:android/net/wifi/p2p/WifiP2pManager$ActionListener;Href=../../../../../reference/android/net/wifi/p2p/WifiP2pManager.ActionListener.html#onFailure(int).
const
ErrorWifiP2pFailureReason (0). Passed with NoType:android/net/wifi/p2p/WifiP2pManager$ActionListener;Href=../../../../../reference/android/net/wifi/p2p/WifiP2pManager.ActionListener.html#onFailure(int).
const
ExtraDiscoveryStatestring. The lookup key for an int that indicates whether p2p discovery has started or stopped.
const
ExtraNetworkInfostring. The lookup key for a Android.Net.NetworkInfo object associated with the p2p network.
const
ExtraP2pDeviceListstring. The lookup key for a Android.Net.Wifi.P2p.WifiP2pDeviceList object representing the new peer list when WifiP2pManager.WifiP2pPeersChangedAction broadcast is sent.
const
ExtraWifiP2pDevicestring. The lookup key for a Android.Net.Wifi.P2p.WifiP2pDevice object Retrieve with Android.Content.Intent.GetParcelableExtra(string).
const
ExtraWifiP2pGroupstring. The lookup key for a Android.Net.Wifi.P2p.WifiP2pGroup object associated with the p2p network.
const
ExtraWifiP2pInfostring. The lookup key for a Android.Net.Wifi.P2p.WifiP2pInfo object Retrieve with Android.Content.Intent.GetParcelableExtra(string).
const
ExtraWifiStatestring. The lookup key for an int that indicates whether Wi-Fi p2p is enabled or disabled.
const
NoServiceRequestsWifiP2pFailureReason (3). Passed with NoType:android/net/wifi/p2p/WifiP2pManager$ActionListener;Href=../../../../../reference/android/net/wifi/p2p/WifiP2pManager.ActionListener.html#onFailure(int).
const
P2pUnsupportedWifiP2pFailureReason (1). Passed with NoType:android/net/wifi/p2p/WifiP2pManager$ActionListener;Href=../../../../../reference/android/net/wifi/p2p/WifiP2pManager.ActionListener.html#onFailure(int).
const
WifiP2pConnectionChangedActionstring. Broadcast intent action indicating that the state of Wi-Fi p2p connectivity has changed.
const
WifiP2pDiscoveryChangedActionstring. Broadcast intent action indicating that peer discovery has either started or stopped.
const
WifiP2pDiscoveryStartedint (2). p2p discovery has started
const
WifiP2pDiscoveryStoppedint (1). p2p discovery has stopped
const
WifiP2pPeersChangedActionstring. Broadcast intent action indicating that the available peer list has changed.
const
WifiP2pStateChangedActionstring. Broadcast intent action to indicate whether Wi-Fi p2p is enabled or disabled.
const
WifiP2pStateDisabledWifiP2pState (1). Wi-Fi p2p is disabled.
const
WifiP2pStateEnabledWifiP2pState (2). Wi-Fi p2p is enabled.
const
WifiP2pThisDeviceChangedActionstring. Broadcast intent action indicating that this device details have changed.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AddLocalService(WifiP2pManager.Channel, Android.Net.Wifi.P2p.Nsd.WifiP2pServiceInfo, WifiP2pManager.IActionListener)
Register a local service for service discovery.
AddServiceRequest(WifiP2pManager.Channel, Android.Net.Wifi.P2p.Nsd.WifiP2pServiceRequest, WifiP2pManager.IActionListener)
Add a service discovery request.
CancelConnect(WifiP2pManager.Channel, WifiP2pManager.IActionListener)
Cancel any ongoing p2p group negotiation
ClearLocalServices(WifiP2pManager.Channel, WifiP2pManager.IActionListener)
Clear all registered local services of service discovery.
ClearServiceRequests(WifiP2pManager.Channel, WifiP2pManager.IActionListener)
Clear all registered service discovery requests.
Connect(WifiP2pManager.Channel, WifiP2pConfig, WifiP2pManager.IActionListener)
Start a p2p connection to a device with the specified configuration.
CreateGroup(WifiP2pManager.Channel, WifiP2pManager.IActionListener)
Create a p2p group with the current device as the group owner.
DiscoverPeers(WifiP2pManager.Channel, WifiP2pManager.IActionListener)
Initiate peer discovery.
DiscoverServices(WifiP2pManager.Channel, WifiP2pManager.IActionListener)
Initiate service discovery.
Initialize(Android.Content.Context, Android.OS.Looper, WifiP2pManager.IChannelListener) : WifiP2pManager.Channel
Registers the application with the Wi-Fi framework.
RemoveGroup(WifiP2pManager.Channel, WifiP2pManager.IActionListener)
Remove the current p2p group.
RemoveLocalService(WifiP2pManager.Channel, Android.Net.Wifi.P2p.Nsd.WifiP2pServiceInfo, WifiP2pManager.IActionListener)
Remove a registered local service added with WifiP2pManager.AddLocalService(.Channel, Android.Net.Wifi.P2p.Nsd.WifiP2pServiceInfo, Android.Net.Wifi.P2p.Nsd.WifiP2pServiceInfo)
RemoveServiceRequest(WifiP2pManager.Channel, Android.Net.Wifi.P2p.Nsd.WifiP2pServiceRequest, WifiP2pManager.IActionListener)
Remove a specified service discovery request added with WifiP2pManager.AddServiceRequest(.Channel, Android.Net.Wifi.P2p.Nsd.WifiP2pServiceRequest, Android.Net.Wifi.P2p.Nsd.WifiP2pServiceRequest)
RequestConnectionInfo(WifiP2pManager.Channel, WifiP2pManager.IConnectionInfoListener)
Request device connection info.
RequestGroupInfo(WifiP2pManager.Channel, WifiP2pManager.IGroupInfoListener)
Request p2p group info.
RequestPeers(WifiP2pManager.Channel, WifiP2pManager.IPeerListListener)
Request the current list of peers.
SetDnsSdResponseListeners(WifiP2pManager.Channel, WifiP2pManager.IDnsSdServiceResponseListener, WifiP2pManager.IDnsSdTxtRecordListener)
Register a callback to be invoked on receiving Bonjour service discovery response.
SetUpnpServiceResponseListener(WifiP2pManager.Channel, WifiP2pManager.IUpnpServiceResponseListener)
Register a callback to be invoked on receiving upnp service discovery response.
StopPeerDiscovery(WifiP2pManager.Channel, WifiP2pManager.IActionListener)
Stop an ongoing peer discovery