public static interface WifiP2pManager.ActionListener
Modifier and Type | Method and Description |
---|---|
void |
onFailure(int reason)
The operation failed
|
void |
onSuccess()
The operation succeeded
|
void onSuccess()
void onFailure(int reason)
reason
- The reason for failure could be one of WifiP2pManager.P2P_UNSUPPORTED
,
WifiP2pManager.ERROR
or WifiP2pManager.BUSY