Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public static interface

WifiP2pManager.ActionListener

android.net.wifi.p2p.WifiP2pManager.ActionListener

Class Overview

Interface for callback invocation on an application action

Summary

Public Methods
abstract void onFailure (int reason)
The operation failed
abstract void onSuccess ()
The operation succeeded

Public Methods

public abstract void onFailure (int reason)

The operation failed

Parameters
reason The reason for failure could be one of P2P_UNSUPPORTED , ERROR or BUSY

public abstract void onSuccess ()

The operation succeeded