Added in API level 14
ActionListener
interface ActionListener
android.net.wifi.p2p.WifiP2pManager.ActionListener |
Interface for callback invocation on an application action
Summary
Public methods | |
---|---|
abstract Unit |
The operation failed |
abstract Unit |
The operation succeeded |
Public methods
onFailure
Added in API level 14
abstract fun onFailure(reason: Int): Unit
The operation failed
Parameters | |
---|---|
reason |
Int: The reason for failure could be one of P2P_UNSUPPORTED , ERROR or BUSY |